=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for py311-sentencepiece-0.2.0 * Building wheel... /usr/pkg/lib/python3.11/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /usr/pkg/lib/python3.11/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib.netbsd-9.3-amd64-cpython-311/sentencepiece copying src/sentencepiece/__init__.py -> build/lib.netbsd-9.3-amd64-cpython-311/sentencepiece copying src/sentencepiece/_version.py -> build/lib.netbsd-9.3-amd64-cpython-311/sentencepiece copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.netbsd-9.3-amd64-cpython-311/sentencepiece copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.netbsd-9.3-amd64-cpython-311/sentencepiece running build_ext Package protobuf-lite was not found in the pkg-config search path. Perhaps you should add the directory containing `protobuf-lite.pc' to the PKG_CONFIG_PATH environment variable Package 'protobuf-lite', required by 'sentencepiece', not found CMake Deprecation Warning at CMakeLists.txt:15 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- VERSION: 0.2.0 -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/textproc/py-sentencepiece/work/.cwrapper/bin/gcc - 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: /tmp/textproc/py-sentencepiece/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Not Found TCMalloc: TCMALLOC_LIB-NOTFOUND -- Configuring done (3.0s) -- Generating done (0.1s) -- Build files have been written to: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build [ 1%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/arena.cc.o [ 3%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/arenastring.cc.o [ 4%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/bytestream.cc.o [ 6%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/coded_stream.cc.o [ 8%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/common.cc.o [ 9%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/extension_set.cc.o [ 11%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/generated_enum_util.cc.o [ 12%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/generated_message_table_driven_lite.cc.o [ 14%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/generated_message_util.cc.o [ 16%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/implicit_weak_message.cc.o [ 17%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/int128.cc.o [ 19%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/io_win32.cc.o [ 20%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/message_lite.cc.o In file included from /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/src/../third_party/protobuf-lite/google/protobuf/message_lite.h:47:0, from /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/third_party/protobuf-lite/message_lite.cc:36: In member function 'google::protobuf::uint8* google::protobuf::io::EpsCopyOutputStream::WriteRaw(const void*, int, google::protobuf::uint8*)', inlined from 'bool google::protobuf::MessageLite::SerializePartialToZeroCopyStream(google::protobuf::io::ZeroCopyOutputStream*) const' at /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:86:35: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/src/../third_party/protobuf-lite/google/protobuf/io/coded_stream.h:699:16: warning: 'void* memcpy(void*, const void*, size_t)': specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] std::memcpy(ptr, data, size); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ [ 22%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/parse_context.cc.o [ 24%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/repeated_field.cc.o [ 25%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/status.cc.o [ 27%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/statusor.cc.o [ 29%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/stringpiece.cc.o [ 30%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/stringprintf.cc.o [ 32%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/structurally_valid.cc.o [ 33%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/strutil.cc.o [ 35%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/time.cc.o [ 37%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/wire_format_lite.cc.o [ 38%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/zero_copy_stream.cc.o [ 40%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/zero_copy_stream_impl.cc.o [ 41%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/zero_copy_stream_impl_lite.cc.o [ 43%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/builtin_pb/sentencepiece.pb.cc.o [ 45%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/builtin_pb/sentencepiece_model.pb.cc.o [ 46%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/bpe_model.cc.o [ 48%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/char_model.cc.o [ 50%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/error.cc.o [ 51%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/filesystem.cc.o [ 53%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/model_factory.cc.o [ 54%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/model_interface.cc.o [ 56%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/normalizer.cc.o [ 58%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/sentencepiece_processor.cc.o [ 59%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/unigram_model.cc.o [ 61%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/util.cc.o [ 62%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/word_model.cc.o [ 64%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/absl/flags/flag.cc.o [ 66%] Linking CXX static library libsentencepiece.a [ 66%] Built target sentencepiece-static [ 67%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/builder.cc.o [ 69%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/unicode_script.cc.o [ 70%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/trainer_factory.cc.o [ 72%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/trainer_interface.cc.o [ 74%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/unigram_model_trainer.cc.o [ 75%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/word_model_trainer.cc.o [ 77%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/char_model_trainer.cc.o [ 79%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/bpe_model_trainer.cc.o [ 80%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/sentencepiece_trainer.cc.o [ 82%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/pretokenizer_for_training.cc.o [ 83%] Linking CXX static library libsentencepiece_train.a [ 83%] Built target sentencepiece_train-static [ 85%] Building CXX object src/CMakeFiles/spm_encode.dir/spm_encode_main.cc.o [ 87%] Linking CXX executable spm_encode [ 87%] Built target spm_encode [ 88%] Building CXX object src/CMakeFiles/spm_decode.dir/spm_decode_main.cc.o [ 90%] Linking CXX executable spm_decode [ 90%] Built target spm_decode [ 91%] Building CXX object src/CMakeFiles/spm_normalize.dir/spm_normalize_main.cc.o [ 93%] Linking CXX executable spm_normalize [ 93%] Built target spm_normalize [ 95%] Building CXX object src/CMakeFiles/spm_train.dir/spm_train_main.cc.o [ 96%] Linking CXX executable spm_train [ 96%] Built target spm_train [ 98%] Building CXX object src/CMakeFiles/spm_export_vocab.dir/spm_export_vocab_main.cc.o [100%] Linking CXX executable spm_export_vocab [100%] Built target spm_export_vocab Install the project... -- Install configuration: "" -- Installing: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build/root/lib/pkgconfig/sentencepiece.pc -- Installing: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build/root/lib/libsentencepiece.a -- Installing: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build/root/lib/libsentencepiece_train.a -- Installing: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build/root/bin/spm_encode -- Installing: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build/root/bin/spm_decode -- Installing: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build/root/bin/spm_normalize -- Installing: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build/root/bin/spm_train -- Installing: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build/root/bin/spm_export_vocab -- Installing: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build/root/include/sentencepiece_trainer.h -- Installing: /tmp/textproc/py-sentencepiece/work/sentencepiece-0.2.0/python/build/root/include/sentencepiece_processor.h ## cflags=-std=c++17 -I./build/root/include -Wl,-strip-all ## libs=./build/root/lib/libsentencepiece.a ./build/root/lib/libsentencepiece_train.a -Wl,-strip-all building 'sentencepiece._sentencepiece' extension creating build/temp.netbsd-9.3-amd64-cpython-311/src/sentencepiece c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 -fPIC -I/usr/pkg/include/python3.11 -c src/sentencepiece/sentencepiece_wrap.cxx -o build/temp.netbsd-9.3-amd64-cpython-311/src/sentencepiece/sentencepiece_wrap.o -std=c++17 -I./build/root/include -Wl,-strip-all src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3895:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsIds, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3895:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsIds, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3895:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsIds, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3895:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsIds, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3895:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsIds, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3899:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsPieces, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3899:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsPieces, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3899:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsPieces, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3899:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsPieces, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3899:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsPieces, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3903:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsSerializedProto, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3903:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsSerializedProto, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3903:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsSerializedProto, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3903:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsSerializedProto, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3903:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsSerializedProto, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3908:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsImmutableProto, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3908:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsImmutableProto, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3908:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsImmutableProto, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3908:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsImmutableProto, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3397:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3908:5: note: in expansion of macro 'DEFINE_ENCODE_BATCH_FUNC_IMPL' DEFINE_ENCODE_BATCH_FUNC_IMPL(EncodeAsImmutableProto, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3944:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIds, int, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3944:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIds, int, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3944:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIds, int, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3944:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIds, int, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3944:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIds, int, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3947:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIds, int, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3947:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIds, int, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3947:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIds, int, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3947:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIds, int, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3947:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIds, int, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3950:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIdsAsSerializedProto, int, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3950:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIdsAsSerializedProto, int, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3950:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIdsAsSerializedProto, int, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3950:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIdsAsSerializedProto, int, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3950:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIdsAsSerializedProto, int, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3954:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIdsAsImmutableProto, int, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3954:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIdsAsImmutableProto, int, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3954:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIdsAsImmutableProto, int, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3954:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIdsAsImmutableProto, int, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3954:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodeIdsAsImmutableProto, int, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3958:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePieces, std::string, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3958:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePieces, std::string, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3958:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePieces, std::string, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3958:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePieces, std::string, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3958:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePieces, std::string, std::string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3961:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePiecesAsSerializedProto, std::string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3961:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePiecesAsSerializedProto, std::string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3961:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePiecesAsSerializedProto, std::string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3961:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePiecesAsSerializedProto, std::string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3961:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePiecesAsSerializedProto, std::string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3965:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePiecesAsImmutableProto, std::string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3965:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePiecesAsImmutableProto, std::string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3965:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePiecesAsImmutableProto, std::string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3965:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePiecesAsImmutableProto, std::string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:3421:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:3965:5: note: in expansion of macro 'DEFINE_DECODE_BATCH_FUNC_IMPL' DEFINE_DECODE_BATCH_FUNC_IMPL(DecodePiecesAsImmutableProto, std::string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:4044:55: error: no matching function for call to 'atomic_fetch_add(std::atomic*, int)' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { ^ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1272:5: note: candidate: template _ITp std::atomic_fetch_add(std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1272:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:4044:55: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { ^ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1277:5: note: candidate: template _ITp std::atomic_fetch_add(volatile std::__atomic_base<_ITp>*, _ITp) atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1277:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:4044:55: note: deduced conflicting types for parameter '_ITp' ('long unsigned int' and 'int') while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { ^ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1336:5: note: candidate: template _ITp* std::atomic_fetch_add(volatile std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1336:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:4044:55: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { ^ In file included from src/sentencepiece/sentencepiece_wrap.cxx:3149:0: /usr/include/g++/atomic:1341:5: note: candidate: template _ITp* std::atomic_fetch_add(std::atomic<_Tp*>*, std::ptrdiff_t) atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept ^~~~~~~~~~~~~~~~ /usr/include/g++/atomic:1341:5: note: template argument deduction/substitution failed: src/sentencepiece/sentencepiece_wrap.cxx:4044:55: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { ^ error: command '/tmp/textproc/py-sentencepiece/work/.cwrapper/bin/c++' failed with exit code 1 ERROR Backend subprocess exited when trying to invoke build_wheel *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/textproc/py-sentencepiece *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/textproc/py-sentencepiece