Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sentencepiece.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-347762-70368/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sentencepiece.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1704844800 Wrote: /builddir/build/SRPMS/python-sentencepiece-0.1.99-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sentencepiece.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-347762-70368/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sentencepiece.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1704844800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mjAqfy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sentencepiece-0.1.99 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sentencepiece-0.1.99.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sentencepiece-0.1.99 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf sentencepiece.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gN5k0Z + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sentencepiece-0.1.99 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/sentencepiece copying src/sentencepiece/__init__.py -> build/lib.linux-x86_64-cpython-310/sentencepiece copying src/sentencepiece/_version.py -> build/lib.linux-x86_64-cpython-310/sentencepiece copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.linux-x86_64-cpython-310/sentencepiece copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.linux-x86_64-cpython-310/sentencepiece running build_ext Package sentencepiece was not found in the pkg-config search path. Perhaps you should add the directory containing `sentencepiece.pc' to the PKG_CONFIG_PATH environment variable Package 'sentencepiece', required by 'virtual:world', not found -- VERSION: 0.1.99 -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/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: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Not Found TCMalloc: TCMALLOC_LIB-NOTFOUND -- Configuring done (0.6s) -- Generating done (0.0s) -- Build files have been written to: /builddir/build/BUILD/sentencepiece-0.1.99/build [ 1%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/unicode_script.cc.o [ 4%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/trainer_factory.cc.o [ 4%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/builder.cc.o [ 6%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/trainer_interface.cc.o [ 8%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/unigram_model_trainer.cc.o [ 9%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/word_model_trainer.cc.o [ 12%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/bpe_model_trainer.cc.o [ 14%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/bytestream.cc.o [ 14%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/char_model_trainer.cc.o [ 16%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/pretokenizer_for_training.cc.o [ 17%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/arena.cc.o [ 19%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/arenastring.cc.o [ 20%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/extension_set.cc.o [ 22%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/sentencepiece_trainer.cc.o [ 24%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/generated_enum_util.cc.o [ 25%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/coded_stream.cc.o [ 27%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/common.cc.o [ 29%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/generated_message_util.cc.o [ 30%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/implicit_weak_message.cc.o [ 32%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/int128.cc.o [ 35%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/repeated_field.cc.o [ 35%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/generated_message_table_driven_lite.cc.o [ 37%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/parse_context.cc.o [ 38%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/message_lite.cc.o [ 41%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/stringpiece.cc.o [ 41%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/statusor.cc.o [ 43%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/status.cc.o [ 48%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/stringprintf.cc.o [ 48%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/structurally_valid.cc.o [ 48%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/io_win32.cc.o [ 50%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/strutil.cc.o [ 51%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/time.cc.o [ 53%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/zero_copy_stream_impl_lite.cc.o [ 59%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/builtin_pb/sentencepiece.pb.cc.o [ 59%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/wire_format_lite.cc.o [ 59%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/zero_copy_stream.cc.o [ 59%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/zero_copy_stream_impl.cc.o [ 61%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/builtin_pb/sentencepiece_model.pb.cc.o [ 64%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/filesystem.cc.o [ 64%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/bpe_model.cc.o [ 66%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/error.cc.o [ 67%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/char_model.cc.o [ 69%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/model_interface.cc.o [ 70%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/unigram_model.cc.o [ 74%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/absl/flags/flag.cc.o [ 74%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/word_model.cc.o [ 75%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/model_factory.cc.o [ 77%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/normalizer.cc.o [ 79%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/sentencepiece_processor.cc.o [ 80%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/util.cc.o In file included from /usr/include/string.h:535, from /builddir/build/BUILD/sentencepiece-0.1.99/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/port.h:39, from /builddir/build/BUILD/sentencepiece-0.1.99/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/macros.h:34, from /builddir/build/BUILD/sentencepiece-0.1.99/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/common.h:46, from /builddir/build/BUILD/sentencepiece-0.1.99/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/message_lite.h:45, from /builddir/build/BUILD/sentencepiece-0.1.99/sentencepiece/third_party/protobuf-lite/message_lite.cc:36: In function ‘memcpy’, inlined from ‘google::protobuf::io::EpsCopyOutputStream::WriteRaw(void const*, int, unsigned char*)’ at /builddir/build/BUILD/sentencepiece-0.1.99/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/coded_stream.h:699:16, inlined from ‘google::protobuf::internal::ImplicitWeakMessage::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const’ at /builddir/build/BUILD/sentencepiece-0.1.99/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:85:28, inlined from ‘google::protobuf::MessageLite::SerializePartialToZeroCopyStream(google::protobuf::io::ZeroCopyOutputStream*) const’ at /builddir/build/BUILD/sentencepiece-0.1.99/sentencepiece/third_party/protobuf-lite/message_lite.cc:419:30: /usr/include/bits/string_fortified.h:29:33: warning: ‘__memcpy_chk’ specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 82%] Linking CXX static library libsentencepiece.a [ 82%] Built target sentencepiece-static [ 83%] Building CXX object src/CMakeFiles/spm_decode.dir/spm_decode_main.cc.o [ 87%] Building CXX object src/CMakeFiles/spm_export_vocab.dir/spm_export_vocab_main.cc.o [ 87%] Building CXX object src/CMakeFiles/spm_encode.dir/spm_encode_main.cc.o [ 88%] Linking CXX executable spm_export_vocab [ 90%] Linking CXX executable spm_decode [ 91%] Linking CXX executable spm_encode [ 91%] Built target spm_export_vocab [ 91%] Built target spm_decode [ 91%] Built target spm_encode [ 93%] Linking CXX static library libsentencepiece_train.a [ 93%] Built target sentencepiece_train-static [ 96%] Building CXX object src/CMakeFiles/spm_train.dir/spm_train_main.cc.o [ 96%] Building CXX object src/CMakeFiles/spm_normalize.dir/spm_normalize_main.cc.o [ 98%] Linking CXX executable spm_normalize [100%] Linking CXX executable spm_train [100%] Built target spm_normalize [100%] Built target spm_train Install the project... -- Install configuration: "" -- Installing: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/lib64/pkgconfig/sentencepiece.pc -- Installing: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/lib64/libsentencepiece.a -- Installing: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/lib64/libsentencepiece_train.a -- Installing: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/bin/spm_encode -- Installing: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/bin/spm_decode -- Installing: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/bin/spm_normalize -- Installing: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/bin/spm_train -- Installing: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/bin/spm_export_vocab -- Installing: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/include/sentencepiece_trainer.h -- Installing: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/include/sentencepiece_processor.h ## cflags=-std=c++17 -I./build/root/include -Wl,-strip-all ## libs=./build/root/lib64/libsentencepiece.a ./build/root/lib64/libsentencepiece_train.a -Wl,-strip-all building 'sentencepiece._sentencepiece' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/src creating build/temp.linux-x86_64-cpython-310/src/sentencepiece gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -c src/sentencepiece/sentencepiece_wrap.cxx -o build/temp.linux-x86_64-cpython-310/src/sentencepiece/sentencepiece_wrap.o -std=c++17 -I./build/root/include -Wl,-strip-all g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-310/src/sentencepiece/sentencepiece_wrap.o -L/usr/lib64 -lpython3.10 -o build/lib.linux-x86_64-cpython-310/sentencepiece/_sentencepiece.cpython-310-x86_64-linux-gnu.so ./build/root/lib64/libsentencepiece.a ./build/root/lib64/libsentencepiece_train.a -Wl,-strip-all + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RwDvt3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sentencepiece-0.1.99 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr creating /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64 creating /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages creating /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece copying build/lib.linux-x86_64-cpython-310/sentencepiece/__init__.py -> /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece copying build/lib.linux-x86_64-cpython-310/sentencepiece/_version.py -> /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece copying build/lib.linux-x86_64-cpython-310/sentencepiece/sentencepiece_model_pb2.py -> /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece copying build/lib.linux-x86_64-cpython-310/sentencepiece/sentencepiece_pb2.py -> /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece copying build/lib.linux-x86_64-cpython-310/sentencepiece/_sentencepiece.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece byte-compiling /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece/_version.py to _version.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece/sentencepiece_model_pb2.py to sentencepiece_model_pb2.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece/sentencepiece_pb2.py to sentencepiece_pb2.cpython-310.pyc writing byte-compilation script '/tmp/tmp90n99jhu.py' /usr/bin/python3 /tmp/tmp90n99jhu.py removing /tmp/tmp90n99jhu.py running install_egg_info running egg_info writing src/sentencepiece.egg-info/PKG-INFO writing dependency_links to src/sentencepiece.egg-info/dependency_links.txt writing top-level names to src/sentencepiece.egg-info/top_level.txt reading manifest file 'src/sentencepiece.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'VERSION.*' writing manifest file 'src/sentencepiece.egg-info/SOURCES.txt' Copying src/sentencepiece.egg-info to /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10/site-packages/sentencepiece-0.1.99-py3.10.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 0.1.99-1.an23 --unique-debug-suffix -0.1.99-1.an23.noarch --unique-debug-src-base python-sentencepiece-0.1.99-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sentencepiece-0.1.99 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-sentencepiece-0.1.99-1.an23.noarch/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6XxWGj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sentencepiece-0.1.99 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing src/sentencepiece.egg-info/PKG-INFO writing dependency_links to src/sentencepiece.egg-info/dependency_links.txt writing top-level names to src/sentencepiece.egg-info/top_level.txt reading manifest file 'src/sentencepiece.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'VERSION.*' writing manifest file 'src/sentencepiece.egg-info/SOURCES.txt' running build_ext Package sentencepiece was not found in the pkg-config search path. Perhaps you should add the directory containing `sentencepiece.pc' to the PKG_CONFIG_PATH environment variable Package 'sentencepiece', required by 'virtual:world', not found -- VERSION: 0.1.99 -- Not Found TCMalloc: TCMALLOC_LIB-NOTFOUND -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /builddir/build/BUILD/sentencepiece-0.1.99/build [ 17%] Built target sentencepiece_train-static [ 83%] Built target sentencepiece-static [ 90%] Built target spm_decode [ 90%] Built target spm_normalize [ 93%] Built target spm_train [ 96%] Built target spm_encode [100%] Built target spm_export_vocab Install the project... -- Install configuration: "" -- Up-to-date: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/lib64/pkgconfig/sentencepiece.pc -- Up-to-date: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/lib64/libsentencepiece.a -- Up-to-date: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/lib64/libsentencepiece_train.a -- Up-to-date: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/bin/spm_encode -- Up-to-date: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/bin/spm_decode -- Up-to-date: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/bin/spm_normalize -- Up-to-date: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/bin/spm_train -- Up-to-date: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/bin/spm_export_vocab -- Up-to-date: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/include/sentencepiece_trainer.h -- Up-to-date: /builddir/build/BUILD/sentencepiece-0.1.99/build/root/include/sentencepiece_processor.h ## cflags=-std=c++17 -I./build/root/include -Wl,-strip-all ## libs=./build/root/lib64/libsentencepiece.a ./build/root/lib64/libsentencepiece_train.a -Wl,-strip-all copying build/lib.linux-x86_64-cpython-310/sentencepiece/_sentencepiece.cpython-310-x86_64-linux-gnu.so -> src/sentencepiece test_batch (sentencepiece_test.TestSentencepieceProcessor) ... ok test_immutable_proto (sentencepiece_test.TestSentencepieceProcessor) ... VERSION=0.1.99 text: "I saw a girl with a telescope." score: 0.0 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "te" id: 142 surface: "te" begin: 20 end: 22 } pieces { piece: "le" id: 82 surface: "le" begin: 22 end: 24 } pieces { piece: "s" id: 8 surface: "s" begin: 24 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "o" id: 21 surface: "o" begin: 26 end: 27 } pieces { piece: "pe" id: 132 surface: "pe" begin: 27 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 } text: "I saw a girl with a telescope." score: 0.0 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "te" id: 142 surface: "te" begin: 20 end: 22 } pieces { piece: "l" id: 31 surface: "l" begin: 22 end: 23 } pieces { piece: "es" id: 117 surface: "es" begin: 23 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "op" id: 279 surface: "op" begin: 26 end: 28 } pieces { piece: "e" id: 16 surface: "e" begin: 28 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 } nbests { text: "I saw a girl with a telescope." score: -75.15420532226562 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "te" id: 142 surface: "te" begin: 20 end: 22 } pieces { piece: "le" id: 82 surface: "le" begin: 22 end: 24 } pieces { piece: "s" id: 8 surface: "s" begin: 24 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "o" id: 21 surface: "o" begin: 26 end: 27 } pieces { piece: "pe" id: 132 surface: "pe" begin: 27 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 }} nbests { text: "I saw a girl with a telescope." score: -75.6412353515625 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "te" id: 142 surface: "te" begin: 20 end: 22 } pieces { piece: "le" id: 82 surface: "le" begin: 22 end: 24 } pieces { piece: "s" id: 8 surface: "s" begin: 24 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "op" id: 279 surface: "op" begin: 26 end: 28 } pieces { piece: "e" id: 16 surface: "e" begin: 28 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 }} nbests { text: "I saw a girl with a telescope." score: -76.38958740234375 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "t" id: 15 surface: "t" begin: 20 end: 21 } pieces { piece: "el" id: 170 surface: "el" begin: 21 end: 23 } pieces { piece: "es" id: 117 surface: "es" begin: 23 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "o" id: 21 surface: "o" begin: 26 end: 27 } pieces { piece: "pe" id: 132 surface: "pe" begin: 27 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 }} nbests { text: "I saw a girl with a telescope." score: -76.87661743164062 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "t" id: 15 surface: "t" begin: 20 end: 21 } pieces { piece: "el" id: 170 surface: "el" begin: 21 end: 23 } pieces { piece: "es" id: 117 surface: "es" begin: 23 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "op" id: 279 surface: "op" begin: 26 end: 28 } pieces { piece: "e" id: 16 surface: "e" begin: 28 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 }} nbests { text: "I saw a girl with a telescope." score: -77.01824951171875 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "te" id: 142 surface: "te" begin: 20 end: 22 } pieces { piece: "l" id: 31 surface: "l" begin: 22 end: 23 } pieces { piece: "es" id: 117 surface: "es" begin: 23 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "o" id: 21 surface: "o" begin: 26 end: 27 } pieces { piece: "pe" id: 132 surface: "pe" begin: 27 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 }} nbests { text: "I saw a girl with a telescope." score: -77.31663513183594 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "t" id: 15 surface: "t" begin: 20 end: 21 } pieces { piece: "e" id: 16 surface: "e" begin: 21 end: 22 } pieces { piece: "le" id: 82 surface: "le" begin: 22 end: 24 } pieces { piece: "s" id: 8 surface: "s" begin: 24 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "o" id: 21 surface: "o" begin: 26 end: 27 } pieces { piece: "pe" id: 132 surface: "pe" begin: 27 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 }} nbests { text: "I saw a girl with a telescope." score: -77.50527954101562 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "te" id: 142 surface: "te" begin: 20 end: 22 } pieces { piece: "l" id: 31 surface: "l" begin: 22 end: 23 } pieces { piece: "es" id: 117 surface: "es" begin: 23 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "op" id: 279 surface: "op" begin: 26 end: 28 } pieces { piece: "e" id: 16 surface: "e" begin: 28 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 }} nbests { text: "I saw a girl with a telescope." score: -77.80366516113281 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "t" id: 15 surface: "t" begin: 20 end: 21 } pieces { piece: "e" id: 16 surface: "e" begin: 21 end: 22 } pieces { piece: "le" id: 82 surface: "le" begin: 22 end: 24 } pieces { piece: "s" id: 8 surface: "s" begin: 24 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "op" id: 279 surface: "op" begin: 26 end: 28 } pieces { piece: "e" id: 16 surface: "e" begin: 28 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 }} nbests { text: "I saw a girl with a telescope." score: -78.140869140625 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "t" id: 15 surface: "t" begin: 20 end: 21 } pieces { piece: "el" id: 170 surface: "el" begin: 21 end: 23 } pieces { piece: "e" id: 16 surface: "e" begin: 23 end: 24 } pieces { piece: "s" id: 8 surface: "s" begin: 24 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "o" id: 21 surface: "o" begin: 26 end: 27 } pieces { piece: "pe" id: 132 surface: "pe" begin: 27 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 }} nbests { text: "I saw a girl with a telescope." score: -78.19964599609375 pieces { piece: "▁I" id: 9 surface: "I" begin: 0 end: 1 } pieces { piece: "▁saw" id: 459 surface: " saw" begin: 1 end: 5 } pieces { piece: "▁a" id: 11 surface: " a" begin: 5 end: 7 } pieces { piece: "▁girl" id: 939 surface: " girl" begin: 7 end: 12 } pieces { piece: "▁with" id: 44 surface: " with" begin: 12 end: 17 } pieces { piece: "▁a" id: 11 surface: " a" begin: 17 end: 19 } pieces { piece: "▁" id: 4 surface: " " begin: 19 end: 20 } pieces { piece: "te" id: 142 surface: "te" begin: 20 end: 22 } pieces { piece: "le" id: 82 surface: "le" begin: 22 end: 24 } pieces { piece: "s" id: 8 surface: "s" begin: 24 end: 25 } pieces { piece: "c" id: 28 surface: "c" begin: 25 end: 26 } pieces { piece: "o" id: 21 surface: "o" begin: 26 end: 27 } pieces { piece: "p" id: 29 surface: "p" begin: 27 end: 28 } pieces { piece: "e" id: 16 surface: "e" begin: 28 end: 29 } pieces { piece: "." id: 6 surface: "." begin: 29 end: 30 }}ok test_ja_load (sentencepiece_test.TestSentencepieceProcessor) ... ok test_ja_roundtrip (sentencepiece_test.TestSentencepieceProcessor) ... ok test_load (sentencepiece_test.TestSentencepieceProcessor) ... ok test_nbest (sentencepiece_test.TestSentencepieceProcessor) ... ok test_new_api (sentencepiece_test.TestSentencepieceProcessor) ... ok test_new_api_init (sentencepiece_test.TestSentencepieceProcessor) ... ok test_pickle (sentencepiece_test.TestSentencepieceProcessor) ... ok test_roundtrip (sentencepiece_test.TestSentencepieceProcessor) ... ok test_sample_and_score (sentencepiece_test.TestSentencepieceProcessor) ... ok test_sampling (sentencepiece_test.TestSentencepieceProcessor) ... ok test_serialized_proto (sentencepiece_test.TestSentencepieceProcessor) ... ok test_train (sentencepiece_test.TestSentencepieceProcessor) ... sentencepiece_trainer.cc(177) LOG(INFO) Running command: --input=test/botchan.txt --model_prefix=m --vocab_size=1000 sentencepiece_trainer.cc(77) LOG(INFO) Starts training with : trainer_spec { input: test/botchan.txt input_format: model_prefix: m model_type: UNIGRAM vocab_size: 1000 self_test_sample_size: 0 character_coverage: 0.9995 input_sentence_size: 0 shuffle_input_sentence: 1 seed_sentencepiece_size: 1000000 shrinking_factor: 0.75 max_sentence_length: 4192 num_threads: 16 num_sub_iterations: 2 max_sentencepiece_length: 16 split_by_unicode_script: 1 split_by_number: 1 split_by_whitespace: 1 split_digits: 0 pretokenization_delimiter: treat_whitespace_as_suffix: 0 allow_whitespace_only_pieces: 0 required_chars: byte_fallback: 0 vocabulary_output_piece_score: 1 train_extremely_large_corpus: 0 hard_vocab_limit: 1 use_all_vocab: 0 unk_id: 0 bos_id: 1 eos_id: 2 pad_id: -1 unk_piece: bos_piece: eos_piece: pad_piece: unk_surface: ⁇ enable_differential_privacy: 0 differential_privacy_noise_level: 0 differential_privacy_clipping_threshold: 0 } normalizer_spec { name: nmt_nfkc add_dummy_prefix: 1 remove_extra_whitespaces: 1 escape_whitespaces: 1 normalization_rule_tsv: } denormalizer_spec {} trainer_interface.cc(351) LOG(INFO) SentenceIterator is not specified. Using MultiFileSentenceIterator. trainer_interface.cc(183) LOG(INFO) Loading corpus: test/botchan.txt trainer_interface.cc(407) LOG(INFO) Loaded all 4288 sentences trainer_interface.cc(423) LOG(INFO) Adding meta_piece: trainer_interface.cc(423) LOG(INFO) Adding meta_piece: trainer_interface.cc(423) LOG(INFO) Adding meta_piece: trainer_interface.cc(428) LOG(INFO) Normalizing sentences... trainer_interface.cc(537) LOG(INFO) all chars count=274252 trainer_interface.cc(548) LOG(INFO) Done: 99.957% characters are covered. trainer_interface.cc(558) LOG(INFO) Alphabet size=69 trainer_interface.cc(559) LOG(INFO) Final character coverage=0.99957 trainer_interface.cc(591) LOG(INFO) Done! preprocessed 4288 sentences. unigram_model_trainer.cc(222) LOG(INFO) Making suffix array... unigram_model_trainer.cc(226) LOG(INFO) Extracting frequent sub strings... node_num=144687 /usr/include/c++/12/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = unsigned int; _Alloc = std::allocator; reference = unsigned int&; size_type = long unsigned int]: Assertion '__n < this->size()' failed. /var/tmp/rpm-tmp.6XxWGj: line 41: 603841 Aborted (core dumped) /usr/bin/python3 setup.py test error: Bad exit status from /var/tmp/rpm-tmp.6XxWGj (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6XxWGj (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sentencepiece.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sentencepiece.spec