=> 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 py312-sentencepiece-0.2.1 * Building wheel... copying ../data/nfkc.bin -> src/sentencepiece/package_data copying ../data/nfkc_cf.bin -> src/sentencepiece/package_data copying ../data/nmt_nfkc.bin -> src/sentencepiece/package_data copying ../data/nmt_nfkc_cf.bin -> src/sentencepiece/package_data running bdist_wheel running build running build_py creating build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece copying src/sentencepiece/__init__.py -> build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece copying src/sentencepiece/_version.py -> build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece running egg_info creating src/sentencepiece.egg-info writing src/sentencepiece.egg-info/PKG-INFO writing dependency_links to src/sentencepiece.egg-info/dependency_links.txt writing requirements to src/sentencepiece.egg-info/requires.txt writing top-level names to src/sentencepiece.egg-info/top_level.txt writing manifest file 'src/sentencepiece.egg-info/SOURCES.txt' reading manifest file 'src/sentencepiece.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'sentencepiece' writing manifest file 'src/sentencepiece.egg-info/SOURCES.txt' copying src/sentencepiece/sentencepiece.i -> build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece copying src/sentencepiece/sentencepiece_wrap.cxx -> build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece creating build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece/package_data copying src/sentencepiece/package_data/nfkc.bin -> build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece/package_data copying src/sentencepiece/package_data/nfkc_cf.bin -> build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece/package_data copying src/sentencepiece/package_data/nmt_nfkc.bin -> build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece/package_data copying src/sentencepiece/package_data/nmt_nfkc_cf.bin -> build/lib.netbsd-9.3-amd64-cpython-312/sentencepiece/package_data running build_ext -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lsentencepiece -lsentencepiece_train ## cflags=-std=c++17 -I../build/root/include -I/usr/pkg/include -Wl,-strip-all ## libs=-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lsentencepiece -lsentencepiece_train -Wl,-strip-all building 'sentencepiece._sentencepiece' extension creating build/temp.netbsd-9.3-amd64-cpython-312/src/sentencepiece c++ -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.12 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.12 -fPIC -I/usr/pkg/include/python3.12 -c src/sentencepiece/sentencepiece_wrap.cxx -o build/temp.netbsd-9.3-amd64-cpython-312/src/sentencepiece/sentencepiece_wrap.o -std=c++17 -I../build/root/include -I/usr/pkg/include -Wl,-strip-all src/sentencepiece/sentencepiece_wrap.cxx: In lambda function: src/sentencepiece/sentencepiece_wrap.cxx:3625: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:4105: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:3373: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:3625: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:4105: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:3373: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:3625: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:4105: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:3373: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:3625:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4105: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:3373: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:3625:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4105: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:3625: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:4109: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:3373: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:3625: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:4109: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:3373: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:3625: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:4109: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:3373: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:3625:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4109: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:3373: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:3625:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4109: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:3625: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:4113: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:3373: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:3625: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:4113: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:3373: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:3625: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:4113: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:3373: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:3625:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4113: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:3373: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:3625:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4113: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:3625: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:4118: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:3373: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:3625: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:4118: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:3373: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:3625: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:4118: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:3373: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:3625:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4118: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:3373: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:3625:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4118: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:3649: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:4155: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:3373: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:3649: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:4155: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:3373: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:3649: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:4155: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4155: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4155: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:3649: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:4159: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:3373: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:3649: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:4159: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:3373: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:3649: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:4159: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4159: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4159: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:3649: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:4163: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:3373: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:3649: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:4163: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:3373: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:3649: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:4163: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4163: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4163: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:3649: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:4168: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:3373: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:3649: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:4168: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:3373: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:3649: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:4168: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4168: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4168: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:3649: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:4172: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:3373: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:3649: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:4172: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:3373: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:3649: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:4172: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4172: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4172: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:3649: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:4175: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:3373: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:3649: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:4175: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:3373: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:3649: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:4175: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4175: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4175: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:3649: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:4179: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:3373: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:3649: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:4179: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:3373: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:3649: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:4179: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4179: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:3373: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:3649:54: note: mismatched types '_Tp*' and 'long unsigned int' while ((i = std::atomic_fetch_add(&index, 1)) < outs.size()) { \ ^ src/sentencepiece/sentencepiece_wrap.cxx:4179: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:4258: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:3373: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:4258: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:3373: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:4258: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:3373: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:4258: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:3373: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:4258: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