Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'], chrootPath='/var/lib/mock/f33-build-125543-39833/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/opengrm-ngram.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/opengrm-ngram-1.3.4-9.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/opengrm-ngram.spec'], chrootPath='/var/lib/mock/f33-build-125543-39833/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/opengrm-ngram.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PTOMC4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opengrm-ngram-1.3.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/opengrm-ngram-1.3.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opengrm-ngram-1.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HvpNB1 + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL' 'LIBS=-L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking fst/fst.h usability... yes checking fst/fst.h presence... yes checking for fst/fst.h... yes checking fst/extensions/far/far.h usability... yes checking fst/extensions/far/far.h presence... yes checking for fst/extensions/far/far.h... yes checking for dlopen in -ldl... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating src/bin/Makefile config.status: creating src/test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' -e 's|CC=.g..|& -Wl,--as-needed|' -i libtool + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' Making all in src make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' Making all in lib make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-absolute.lo ngram-absolute.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-context.lo ngram-context.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-count.lo ngram-count.cc /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-count-prune.lo ngram-count-prune.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-context.cc -fPIC -DPIC -o .libs/ngram-context.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-absolute.cc -fPIC -DPIC -o .libs/ngram-absolute.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-count.cc -fPIC -DPIC -o .libs/ngram-count.o libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-count-prune.cc -fPIC -DPIC -o .libs/ngram-count-prune.o In file included from ngram-context.cc:27: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngram-absolute.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ ngram-context.cc: In static member function 'static void ngram::NGramContext::ParseContextInterval(const string&, std::vector*, std::vector*)': ngram-context.cc:133:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 133 | for (int i = 0; i < labels1.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ ngram-context.cc:137:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 137 | for (int i = 0; i < labels2.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ ngram-context.cc: In member function 'void ngram::NGramContext::Init()': ngram-context.cc:148:29: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 148 | if (context_begin_.size() >= hi_order_) hi_order_ = context_begin_.size() + 1; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ngram-context.cc:149:27: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 149 | if (context_end_.size() >= hi_order_) hi_order_ = context_end_.size() + 1; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ngram-count-prune.cc:18: ./../include/ngram/ngram-count-prune.h: In constructor 'ngram::NGramCountPrune::NGramCountPrune(fst::StdMutableFst*, const std::vector&, int, double, ngram::NGramShrink > >::Label, double, bool)': ./../include/ngram/ngram-count-prune.h:56:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 56 | count_minimums_[i] = count_minimums.size() > i | ~~~~~~~~~~~~~~~~~~~~~~^~~ ngram-context.cc: In function 'bool ngram::NGramWriteContexts(const string&, const std::vector >&)': ngram-context.cc:296:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 296 | for (int i = 0; i < contexts.size(); ++i) strm << contexts[i] << std::endl; | ~~^~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:22, from ngram-absolute.cc:23: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:45:76: required from here ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 175 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-shrink.h:23, from ./../include/ngram/ngram-count-prune.h:20, from ngram-count-prune.cc:18: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:476:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:23, from ngram-absolute.cc:23: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:144:30: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::ArcTpl >; ngram::NGramMake::StateId = int]' ./../include/ngram/ngram-make.h:77:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ngram-absolute.cc:41:21: required from here ./../include/ngram/ngram-make.h:118:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngram-absolute.cc:23: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ngram-absolute.cc:41:21: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': ./../include/ngram/ngram-model.h:401:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' ./../include/ngram/ngram-shrink.h:493:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:440:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:460:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:1033:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] 1033 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1040:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] 1040 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:476:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ngram-absolute.cc:41:21: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:28, from ngram-count.cc:18: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ ngram-count.cc: In function 'void ngram::RoundCountsToInt(fst::StdMutableFst*)': ngram-count.cc:27:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'fst::ExpandedFst > >::StateId' {aka 'int'} [-Wsign-compare] 27 | for (size_t s = 0; s < fst->NumStates(); ++s) { | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-hist-merge.h:21, from ngram-count.cc:19: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:95:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:178:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 178 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:219:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 219 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:221:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 221 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:227:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 227 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:234:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 234 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:339:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 339 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:364:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 364 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:368:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 368 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:382:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 382 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:100:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:583:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 583 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:585:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 585 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:592:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 592 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-kneser-ney.lo ngram-kneser-ney.cc In file included from /usr/include/string.h:495, from /usr/include/c++/10/cstring:42, from ngram-context.cc:18: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'static void ngram::NGramContext::ParseContextInterval(const string&, std::vector*, std::vector*)' at ngram-context.cc:127:10: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-kneser-ney.cc -fPIC -DPIC -o .libs/ngram-kneser-ney.o ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:259:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:319:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 319 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:28, from ngram-count.cc:18: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:422:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] 422 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:429:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] 429 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-make.lo ngram-make.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-make.cc -fPIC -DPIC -o .libs/ngram-make.o ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ In file included from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ./../include/ngram/ngram-kneser-ney.h:22, from ngram-kneser-ney.cc:22: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:22, from ./../include/ngram/ngram-kneser-ney.h:22, from ngram-kneser-ney.cc:22: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:45:76: required from here ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 175 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ./../include/ngram/ngram-kneser-ney.h:22, from ngram-kneser-ney.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-make.h:61:25: required from 'ngram::NGramMake::NGramMake(fst::MutableFst*, bool, ngram::NGramMake::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMake::Label = int]' ./../include/ngram/ngram-absolute.h:39:31: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-marginalize.lo ngram-marginalize.cc ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-make.h:61:25: required from 'ngram::NGramMake::NGramMake(fst::MutableFst*, bool, ngram::NGramMake::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMake::Label = int]' ./../include/ngram/ngram-absolute.h:39:31: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-marginalize.cc -fPIC -DPIC -o .libs/ngram-marginalize.o In file included from ./../include/ngram/ngram-absolute.h:23, from ./../include/ngram/ngram-kneser-ney.h:22, from ngram-kneser-ney.cc:22: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:114:18: required from here ./../include/ngram/ngram-make.h:118:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngram-make.cc:19: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:22, from ngram-make.cc:19: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:45:76: required from here ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 175 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::HistogramArc; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-katz.h:63:72: required from 'void ngram::NGramKatz::SetCountOfCounts(const StdFst&) [with Arc = fst::HistogramArc; fst::StdFst = fst::Fst > >]' ngram-make.cc:135:45: required from here ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] In file included from ./../include/ngram/ngram-absolute.h:23, from ngram-make.cc:19: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:144:30: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::ArcTpl >; ngram::NGramMake::StateId = int]' ./../include/ngram/ngram-make.h:77:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-unsmoothed.h:41:45: required from here ./../include/ngram/ngram-make.h:118:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngram-make.cc:19: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-unsmoothed.h:41:45: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-output.lo ngram-output.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-output.cc -fPIC -DPIC -o .libs/ngram-output.o In file included from ./../include/ngram/ngram-absolute.h:23, from ngram-make.cc:19: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-make.h:144:30: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::HistogramArc; ngram::NGramMake::StateId = int]' ./../include/ngram/ngram-make.h:77:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-katz.h:59:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = fst::HistogramArc]' ngram-make.cc:136:31: required from here ./../include/ngram/ngram-make.h:118:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngram-make.cc:19: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-katz.h:59:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = fst::HistogramArc]' ngram-make.cc:136:31: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-unsmoothed.h:41:45: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-make.h:85:14: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-katz.h:59:42: required from 'bool ngram::NGramKatz::MakeNGramModel() [with Arc = fst::HistogramArc]' ngram-make.cc:136:31: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ngram-marginalize.cc: In member function 'void ngram::NGramMarginal::SetArcIndices(ngram::NGramMarginal::StateId, bool)': ngram-marginalize.cc:110:28: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'fst::ArcTpl >::Label' {aka 'int'} [-Wsign-compare] 110 | while (indices_.size() <= arc.ilabel + 1) indices_.push_back(-1); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ngram-marginalize.cc: In member function 'int ngram::NGramMarginal::GetCurrentArcIndex(int)': ngram-marginalize.cc:120:26: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 120 | while (indices_.size() <= label + 1) indices_.push_back(-1); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-marginalize.h:20, from ngram-marginalize.cc:19: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': ./../include/ngram/ngram-model.h:401:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' ngram-marginalize.cc:34:20: required from here ./../include/ngram/ngram-model.h:1033:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] 1033 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1040:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] 1040 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-marginalize.h:37:39: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-marginalize.h:37:39: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:25, from ngram-output.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ ngram-output.cc: In member function 'bool ngram::NGramOutput::PerplexityNGramModel(const std::vector > > > >&, int32, bool, std::string*, double, double)': ngram-output.cc:103:25: warning: comparison of integer expressions of different signedness: 'ngram::NGramOutput::StateId' {aka 'int'} and 'std::vector > > > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (StateId i = 0; i < infsts.size(); ++i) | ~~^~~~~~~~~~~~~~~ ngram-output.cc: In member function 'void ngram::NGramOutput::RandNGramModel(int64, bool) const': ngram-output.cc:501:51: warning: variable 'nextstate' set but not used [-Wunused-but-set-variable] 501 | StateId st = GetFst().Start(), hi_state = -1, nextstate; | ^~~~~~~~~ ngram-output.cc:502:11: warning: variable 'lbl' set but not used [-Wunused-but-set-variable] 502 | Label lbl; | ^~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-output.h:25, from ngram-output.cc:23: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngram-shrink.lo ngram-shrink.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c ngram-shrink.cc -fPIC -DPIC -o .libs/ngram-shrink.o ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ In file included from ./../include/ngram/ngram-context-prune.h:23, from ngram-shrink.cc:15: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-prune.h:24, from ngram-shrink.cc:15: ./../include/ngram/ngram-count-prune.h: In constructor 'ngram::NGramCountPrune::NGramCountPrune(fst::StdMutableFst*, const std::vector&, int, double, ngram::NGramShrink > >::Label, double, bool)': ./../include/ngram/ngram-count-prune.h:56:50: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 56 | count_minimums_[i] = count_minimums.size() > i | ~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ./../include/ngram/ngram-count-prune.h:20, from ./../include/ngram/ngram-context-prune.h:24, from ngram-shrink.cc:15: ./../include/ngram/ngram-shrink.h: In instantiation of 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-relentropy.h:51:66: required from here ./../include/ngram/ngram-shrink.h:756:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 756 | while (threshold_index < scores.size() && scores[threshold_index] == theta) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:759:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 759 | if (threshold_index >= scores.size()) { // Sets theta more than max. | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-context-prune.h:23, from ngram-shrink.cc:15: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:476:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-prune.h:20, from ./../include/ngram/ngram-context-prune.h:24, from ngram-shrink.cc:15: ./../include/ngram/ngram-shrink.h: In instantiation of 'void ngram::NGramShrink::GetNGramsAndOrScoresMinOrder(std::vector >*, std::vector*, int) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-shrink.h:567:3: required from 'void ngram::NGramShrink::GetNGramsAndOrScores(std::vector >*, std::vector*, bool) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]' ./../include/ngram/ngram-shrink.h:738:21: required from 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-relentropy.h:51:66: required from here ./../include/ngram/ngram-shrink.h:602:39: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 602 | } else if (state_ngram.size() < min_order - 1) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-context-prune.h:23, from ngram-shrink.cc:15: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': ./../include/ngram/ngram-model.h:401:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' ./../include/ngram/ngram-shrink.h:493:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:440:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:460:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:1033:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] 1033 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1040:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] 1040 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o util.lo util.cc ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:476:12: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-count-prune.h:66:33: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c util.cc -fPIC -DPIC -o .libs/util.o /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o hist-arc.lo hist-arc.cc libtool: compile: g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c hist-arc.cc -fPIC -DPIC -o .libs/hist-arc.o ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -version-info 134:0:0 -lfst -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libngram.la -rpath /usr/lib64 ngram-absolute.lo ngram-context.lo ngram-count.lo ngram-count-prune.lo ngram-kneser-ney.lo ngram-make.lo ngram-marginalize.lo ngram-output.lo ngram-shrink.lo util.lo -ldl -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: g++ -Wl,--as-needed -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/10/crti.o /usr/lib/gcc/riscv64-redhat-linux/10/crtbeginS.o .libs/ngram-absolute.o .libs/ngram-context.o .libs/ngram-count.o .libs/ngram-count-prune.o .libs/ngram-kneser-ney.o .libs/ngram-make.o .libs/ngram-marginalize.o .libs/ngram-output.o .libs/ngram-shrink.o .libs/util.o -ldl -L/usr/lib64/fst -lfst -lgsl -lopenblas -L/usr/lib/gcc/riscv64-redhat-linux/10 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/10/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/10/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,libngram.so.134 -o .libs/libngram.so.134.0.0 libtool: link: (cd ".libs" && rm -f "libngram.so.134" && ln -s "libngram.so.134.0.0" "libngram.so.134") libtool: link: (cd ".libs" && rm -f "libngram.so" && ln -s "libngram.so.134.0.0" "libngram.so") libtool: link: ( cd ".libs" && rm -f "libngram.la" && ln -s "../libngram.la" "libngram.la" ) /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -version-info 134:0:0 -lfst -lfstscript -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libngramhist.la -rpath /usr/lib64 hist-arc.lo -ldl -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -module -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hist-arc.la -rpath /usr/lib64 hist-arc.lo -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: g++ -Wl,--as-needed -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/10/crti.o /usr/lib/gcc/riscv64-redhat-linux/10/crtbeginS.o .libs/hist-arc.o -L/usr/lib64/fst -lfst -lgsl -lopenblas -L/usr/lib/gcc/riscv64-redhat-linux/10 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/10/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/10/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,hist-arc.so.0 -o .libs/hist-arc.so.0.0.0 libtool: link: g++ -Wl,--as-needed -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/10/crti.o /usr/lib/gcc/riscv64-redhat-linux/10/crtbeginS.o .libs/hist-arc.o -lfstscript -ldl -L/usr/lib64/fst -lfst -lgsl -lopenblas -L/usr/lib/gcc/riscv64-redhat-linux/10 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/10/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/10/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-rpath=/usr/lib64/fst -Wl,-soname -Wl,libngramhist.so.134 -o .libs/libngramhist.so.134.0.0 libtool: link: (cd ".libs" && rm -f "libngramhist.so.134" && ln -s "libngramhist.so.134.0.0" "libngramhist.so.134") libtool: link: (cd ".libs" && rm -f "libngramhist.so" && ln -s "libngramhist.so.134.0.0" "libngramhist.so") libtool: link: ( cd ".libs" && rm -f "libngramhist.la" && ln -s "../libngramhist.la" "libngramhist.la" ) libtool: link: (cd ".libs" && rm -f "hist-arc.so.0" && ln -s "hist-arc.so.0.0.0" "hist-arc.so.0") libtool: link: (cd ".libs" && rm -f "hist-arc.so" && ln -s "hist-arc.so.0.0.0" "hist-arc.so") libtool: link: ( cd ".libs" && rm -f "hist-arc.la" && ln -s "../hist-arc.la" "hist-arc.la" ) make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' Making all in bin make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramapply_main.o ngramapply_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramcontext_main.o ngramcontext_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramcount_main.o ngramcount_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngraminfo_main.o ngraminfo_main.cc In file included from ngramcontext_main.cc:22: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ ngraminfo_main.cc: In function 'void ngram::PrintNGramInfo(const ngram::NGramModel > >&, std::ostream&)': ngraminfo_main.cc:38:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] 38 | for (size_t s = 0; s < ngram.NumStates(); ++s) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:25, from ngramapply_main.cc:24: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h: In instantiation of 'static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, float) [with Arc = fst::ArcTpl >]': ngramcontext_main.cc:50:59: required from here ./../include/ngram/ngram-context.h:121:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 121 | for (int i = 0; i < begin_contexts.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from ngraminfo_main.cc:25: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ngraminfo_main.cc:78:50: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h: In instantiation of 'static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, std::vector >*, float) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-context.h:118:17: required from 'static void ngram::NGramContext::FindContexts(const ngram::NGramModel&, int, std::vector >*, float) [with Arc = fst::ArcTpl >]' ngramcontext_main.cc:50:59: required from here ./../include/ngram/ngram-context.h:342:42: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 342 | (bin_count + delta1) * ncontexts < total_count) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:371:46: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 371 | (bin_count + delta2) * ncontexts < total_count) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ngraminfo_main.cc:78:50: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ngramcontext_main.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ngramcontext_main.cc:47:73: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:28, from ngramcount_main.cc:28: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ngramcontext_main.cc:47:73: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:28, from ngramcount_main.cc:28: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-count.h:490:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::ArcTpl >; fst::StdMutableFst = fst::MutableFst > >; std::string = std::__cxx11::basic_string]' ngramcount_main.cc:124:74: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-count.h:490:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::HistogramArc; fst::StdMutableFst = fst::MutableFst > >; std::string = std::__cxx11::basic_string]' ngramcount_main.cc:130:59: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-count.h:490:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::ArcTpl >; fst::StdMutableFst = fst::MutableFst > >; std::string = std::__cxx11::basic_string]' ngramcount_main.cc:124:74: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-count.h:490:19: required from 'void ngram::GetNGramCountOfCounts(const fst::Fst&, fst::StdMutableFst*, int, const string&) [with Arc = fst::HistogramArc; fst::StdMutableFst = fst::MutableFst > >; std::string = std::__cxx11::basic_string]' ngramcount_main.cc:130:59: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/lexicographic-map.h:37, from ngramapply_main.cc:23: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngrammake_main.o ngrammake_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngrammarginalize_main.o ngrammarginalize_main.cc In file included from ./../include/ngram/ngram-mutable-model.h:28, from ./../include/ngram/ngram-marginalize.h:20, from ngrammarginalize_main.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-marginalize.h:37:39: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-marginalize.h:37:39: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngrammerge_main.o ngrammerge_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramperplexity_main.o ngramperplexity_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramprint_main.o ngramprint_main.cc In file included from ngrammerge_main.cc:22: ./../include/ngram/ngram-bayes-model-merge.h: In member function 'double ngram::NGramBayesModelMerge::StateAlpha(ngram::NGramBayesModelMerge::StateId) const': ./../include/ngram/ngram-bayes-model-merge.h:82:15: warning: comparison of integer expressions of different signedness: 'ngram::NGramBayesModelMerge::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 82 | while (st >= state_alpha_.size()) state_alpha_.push_back(-1.0); | ~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-merge.h:20, from ngrammerge_main.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ ngrammerge_main.cc: In function 'bool GetContexts(int, std::vector >*)': ngrammerge_main.cc:72:24: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 72 | if (contexts->size() != in_count) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ngrammerge_main.cc: In function 'void RoundCountsToInt(fst::StdMutableFst*)': ngrammerge_main.cc:83:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'fst::ExpandedFst > >::StateId' {aka 'int'} [-Wsign-compare] 83 | for (size_t s = 0; s < fst->NumStates(); ++s) { | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27, from ngrammerge_main.cc:21: ./../include/ngram/ngram-model.h: In instantiation of 'ngram::NGramModel::Weight ngram::NGramModel::GetNGramCost(const std::vector&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::Weight = fst::TropicalWeightTpl; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-bayes-model-merge.h:87:49: required from here ./../include/ngram/ngram-model.h:335:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 335 | for (int n = 0; n < ngram.size(); ++n) { | ~~^~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:339:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 339 | if (n != ngram.size() - 1) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-bayes-model-merge.h:23, from ngrammerge_main.cc:22: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:95:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-merge.h:178:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 178 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-merge.h:219:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 219 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:221:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 221 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:227:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 227 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:234:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 234 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-merge.h:339:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 339 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:364:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 364 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:368:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 368 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:382:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 382 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:100:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-merge.h:583:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 583 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:585:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 585 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:592:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 592 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:95:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:178:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 178 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:219:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 219 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:221:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 221 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:227:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 227 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:234:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 234 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:339:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 339 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:364:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 364 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:368:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 368 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:382:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 382 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:100:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:583:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 583 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:585:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 585 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:592:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 592 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ In file included from ngrammerge_main.cc:21: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]': ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngrammerge_main.cc:127:45: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 97 | while (st_order < order_states.size() && order_states[st_order].size() > 0) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 123 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 154 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:25, from ngramperplexity_main.cc:25: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]': ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' ngrammerge_main.cc:174:58: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 97 | while (st_order < order_states.size() && order_states[st_order].size() > 0) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 123 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 154 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27, from ngrammerge_main.cc:21: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-bayes-model-merge.h:48:35: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-bayes-model-merge.h:23, from ngrammerge_main.cc:22: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:259:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-merge.h:319:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 319 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27, from ngrammerge_main.cc:21: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-bayes-model-merge.h:58:30: required from here ./../include/ngram/ngram-model.h:422:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] 422 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:429:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] 429 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ./../include/ngram/ngram-bayes-model-merge.h:23, from ngrammerge_main.cc:22: ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-merge.h:259:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-merge.h:319:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 319 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27, from ngrammerge_main.cc:21: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:422:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] 422 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:429:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel::StateId' {aka 'int'} [-Wsign-compare] 429 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ngrammerge_main.cc:21: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngrammerge_main.cc:127:45: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 61 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::HistogramArc; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]' ngrammerge_main.cc:56:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' ngrammerge_main.cc:174:58: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 61 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27, from ngrammerge_main.cc:21: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-bayes-model-merge.h:48:35: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-merge.h:90:19: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-hist-merge.h:49:22: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-output.h:25, from ngramperplexity_main.cc:25: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-output.h:25, from ngramprint_main.cc:22: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-output.h:25, from ngramprint_main.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-output.h:59:44: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramrandgen_main.o ngramrandgen_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramread_main.o ngramread_main.cc ngramrandgen_main.cc: In function 'void CreateStringFstFromPath(std::vector*, fst::StdVectorFst*)': ngramrandgen_main.cc:70:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 70 | for (int i = 0; i < labels->size(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:28, from ./../include/ngram/ngram-input.h:30, from ngramread_main.cc:19: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngramread_main.cc:19: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::ReadARPAOrder(std::vector*, int, std::vector*, ngram::NGramCounter >*)': ./../include/ngram/ngram-input.h:447:26: warning: comparison of integer expressions of different signedness: 'ngram::NGramInput::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 447 | while (nextstate >= boweights->size()) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::SetARPABackoffWeights(std::vector*)': ./../include/ngram/ngram-input.h:494:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 494 | if (st < boweights->size()) { | ~~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'bool ngram::NGramInput::CompileARPAModel(bool, bool)': ./../include/ngram/ngram-input.h:577:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 577 | for (auto i = 0; i < orders.size(); i++) { // Read n-grams of each order | ~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::AddBackoffAndCycles(ngram::NGramInput::StateId, ngram::NGramInput::Label)': ./../include/ngram/ngram-input.h:684:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 684 | for (auto i = 0; i < bigram_states.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h:690:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 690 | for (auto i = 0; i < bigram_states.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'ngram::NGramInput::StateId ngram::NGramInput::GetHistoryState(std::vector >*, std::vector*, std::vector*, ngram::NGramInput::StateId)': ./../include/ngram/ngram-input.h:755:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 755 | for (auto i = 0; i < words->size() - 2; i++) { | ~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h:760:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 760 | if (last_labels->size() <= i || label != (*last_labels)[i]) { | ~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-input.h: In member function 'int ngram::NGramInput::UpdateLast(std::vector >*, int, std::vector*, std::vector*, ngram::NGramInput::Label, ngram::NGramInput::StateId)': ./../include/ngram/ngram-input.h:798:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 798 | if (words->size() > longest_ngram + 1) { // Adds a dimension to vectors. | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-input.h:30, from ngramread_main.cc:19: ./../include/ngram/ngram-count.h: In instantiation of 'ssize_t ngram::NGramCounter::NGramNextState(ssize_t) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': ./../include/ngram/ngram-input.h:357:50: required from here ./../include/ngram/ngram-count.h:190:30: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountArc, std::allocator >::CountArc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 190 | if (arc_id < 0 || arc_id >= arcs_.size()) return -1; | ~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::SetFinalNGramWeight(ssize_t, Weight) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': ./../include/ngram/ngram-input.h:424:54: required from here ./../include/ngram/ngram-count.h:196:34: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountState, std::allocator >::CountState> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 196 | if (state_id < 0 || state_id >= states_.size()) return false; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::SetNGramWeight(ssize_t, Weight) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': ./../include/ngram/ngram-input.h:433:53: required from here ./../include/ngram/ngram-count.h:203:30: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountArc, std::allocator >::CountArc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | if (arc_id < 0 || arc_id >= arcs_.size()) return false; | ~~~~~~~^~~~~~~~~~~~~~~ In file included from ngramrandgen_main.cc:32: ./../include/ngram/ngram-randgen.h: In instantiation of 'bool fst::ArcSampler >::Sample(const fst::RandState&) [with A = fst::ArcTpl >]': /usr/include/fst/randgen.h:498:21: required from 'void fst::internal::RandGenFstImpl::Expand(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::StateId = int]' /usr/include/fst/randgen.h:453:23: required from 'fst::internal::RandGenFstImpl::ToWeight fst::internal::RandGenFstImpl::Final(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::ToWeight = fst::TropicalWeightTpl; fst::internal::RandGenFstImpl::StateId = int]' /usr/include/fst/fst.h:859:63: required from 'fst::ImplToFst::Weight fst::ImplToFst::Final(fst::ImplToFst::StateId) const [with Impl = fst::internal::RandGenFstImpl >, fst::ArcTpl >, fst::ArcSampler >, ngram::NGramArcSelector > > > >; FST = fst::Fst > >; fst::ImplToFst::Weight = fst::TropicalWeightTpl; fst::ImplToFst::StateId = int]' /usr/include/fst/fst.h:859:10: required from here ./../include/ngram/ngram-randgen.h:129:23: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] 129 | rstate.length == max_length_) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:28, from ./../include/ngram/ngram-input.h:30, from ngramread_main.cc:19: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-input.h:602:50: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-input.h:602:50: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramshrink_main.o ngramshrink_main.cc ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ In file included from ngramread_main.cc:19: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::FillARPAHoles()': ./../include/ngram/ngram-input.h:557:33: warning: 'boprob' may be used uninitialized in this function [-Wmaybe-uninitialized] 557 | arc.weight = boprob + GetLowerOrderProb(bostate, arc.ilabel); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramsort_main.o ngramsort_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramsplit_main.o ngramsplit_main.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramsymbols_main.o ngramsymbols_main.cc In file included from ./../include/ngram/ngram-mutable-model.h:28, from ngramsort_main.cc:20: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ngramsort_main.cc:49:21: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ngramsort_main.cc:49:21: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-split.h:25, from ngramsplit_main.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngramsplit_main.cc:22: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]': ngramsplit_main.cc:80:67: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 97 | while (st_order < order_states.size() && order_states[st_order].size() > 0) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 123 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 154 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]': ngramsplit_main.cc:87:67: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 97 | while (st_order < order_states.size() && order_states[st_order].size() > 0) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 123 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 154 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' ngramsplit_main.cc:80:67: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 61 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ngramsplit_main.cc:23: ./../include/ngram/ngram-split.h: In instantiation of 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramSplit::Label = int]': ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::string) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit_main.cc:83:62: required from here ./../include/ngram/ngram-split.h:103:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_patterns.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ngramsplit_main.cc:22: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::HistogramArc; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]' ngramsplit_main.cc:87:67: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 61 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ngramsplit_main.cc:23: ./../include/ngram/ngram-split.h: In instantiation of 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramSplit::Label = int]': ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::string) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit_main.cc:90:62: required from here ./../include/ngram/ngram-split.h:103:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_patterns.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:28, from ./../include/ngram/ngram-input.h:30, from ngramsymbols_main.cc:19: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ In file included from ngramsymbols_main.cc:19: ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::ReadARPAOrder(std::vector*, int, std::vector*, ngram::NGramCounter >*)': ./../include/ngram/ngram-input.h:447:26: warning: comparison of integer expressions of different signedness: 'ngram::NGramInput::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 447 | while (nextstate >= boweights->size()) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::SetARPABackoffWeights(std::vector*)': ./../include/ngram/ngram-input.h:494:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 494 | if (st < boweights->size()) { | ~~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'bool ngram::NGramInput::CompileARPAModel(bool, bool)': ./../include/ngram/ngram-input.h:577:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 577 | for (auto i = 0; i < orders.size(); i++) { // Read n-grams of each order | ~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'void ngram::NGramInput::AddBackoffAndCycles(ngram::NGramInput::StateId, ngram::NGramInput::Label)': ./../include/ngram/ngram-input.h:684:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 684 | for (auto i = 0; i < bigram_states.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h:690:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 690 | for (auto i = 0; i < bigram_states.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h: In member function 'ngram::NGramInput::StateId ngram::NGramInput::GetHistoryState(std::vector >*, std::vector*, std::vector*, ngram::NGramInput::StateId)': ./../include/ngram/ngram-input.h:755:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 755 | for (auto i = 0; i < words->size() - 2; i++) { | ~~^~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-input.h:760:31: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 760 | if (last_labels->size() <= i || label != (*last_labels)[i]) { | ~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-input.h: In member function 'int ngram::NGramInput::UpdateLast(std::vector >*, int, std::vector*, std::vector*, ngram::NGramInput::Label, ngram::NGramInput::StateId)': ./../include/ngram/ngram-input.h:798:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 798 | if (words->size() > longest_ngram + 1) { // Adds a dimension to vectors. | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-complete.h:27, from ngramsplit_main.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramSplit::Label = int]' ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::string) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit_main.cc:83:62: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramSplit::Label = int]' ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::string) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit_main.cc:90:62: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] In file included from ./../include/ngram/ngram-input.h:30, from ngramsymbols_main.cc:19: ./../include/ngram/ngram-count.h: In instantiation of 'ssize_t ngram::NGramCounter::NGramNextState(ssize_t) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': ./../include/ngram/ngram-input.h:357:50: required from here ./../include/ngram/ngram-count.h:190:30: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountArc, std::allocator >::CountArc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 190 | if (arc_id < 0 || arc_id >= arcs_.size()) return -1; | ~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::SetFinalNGramWeight(ssize_t, Weight) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': ./../include/ngram/ngram-input.h:424:54: required from here ./../include/ngram/ngram-count.h:196:34: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountState, std::allocator >::CountState> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 196 | if (state_id < 0 || state_id >= states_.size()) return false; | ~~~~~~~~~^~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-count.h: In instantiation of 'bool ngram::NGramCounter::SetNGramWeight(ssize_t, Weight) [with Weight = fst::LogWeightTpl; Label = int; ssize_t = long int]': ./../include/ngram/ngram-input.h:433:53: required from here ./../include/ngram/ngram-count.h:203:30: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'std::vector >::CountArc, std::allocator >::CountArc> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | if (arc_id < 0 || arc_id >= arcs_.size()) return false; | ~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramSplit::Label = int]' ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::string) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramsplit_main.cc:83:62: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-split.h:102:19: required from 'ngram::NGramSplit::NGramSplit(const fst::Fst&, const std::vector >&, ngram::NGramSplit::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramSplit::Label = int]' ngramsplit_main.cc:36:26: required from 'bool Split(fst::VectorFst*, std::vector >, std::string) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string]' ngramsplit_main.cc:90:62: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-count.h:28, from ./../include/ngram/ngram-input.h:30, from ngramsymbols_main.cc:19: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-input.h:602:50: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-mutable-model.h:72:27: required from 'ngram::NGramMutableModel::NGramMutableModel(fst::MutableFst*, ngram::NGramMutableModel::Label, double, bool, bool) [with Arc = fst::ArcTpl >; ngram::NGramMutableModel::Label = int]' ./../include/ngram/ngram-input.h:602:50: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramtransfer_main.o ngramtransfer_main.cc In file included from ./../include/ngram/ngram-transfer.h:26, from ngramtransfer_main.cc:23: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ ngramtransfer_main.cc: In function 'bool GetContexts(int, std::vector >*)': ngramtransfer_main.cc:60:24: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 60 | if (contexts->size() != in_count) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramcontext ngramcontext_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramcontext ngramcontext_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramcount ngramcount_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramcount ngramcount_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas In file included from ngramtransfer_main.cc:22: ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]': ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::string, int, char**) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:139:71: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 97 | while (st_order < order_states.size() && order_states[st_order].size() > 0) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 123 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 154 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]': ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:142:63: required from here ./../include/ngram/ngram-complete.h:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 97 | while (st_order < order_states.size() && order_states[st_order].size() > 0) { | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:123:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 123 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:153:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (int order = 1; order < order_states.size() - 1; ++order) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:154:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 154 | for (int idx = 0; idx < order_states[order].size(); ++idx) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::HistogramArc; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::HistogramArc; typename Arc::Label = int]' ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::HistogramArc]' ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::string, int, char**) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:139:71: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 61 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-complete.h: In instantiation of 'bool ngram::AscendAndCollectStateInfo(const fst::Fst&, int, typename Arc::Label, std::vector >*, std::vector*, std::vector*) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename A::StateId = int]': ./../include/ngram/ngram-complete.h:98:35: required from 'bool ngram::NGramComplete(fst::MutableFst*, typename Arc::Label) [with Arc = fst::ArcTpl >; typename Arc::Label = int]' ngramtransfer_main.cc:43:58: required from 'bool ReadFst(const char*, std::unique_ptr >*) [with Arc = fst::ArcTpl >]' ngramtransfer_main.cc:70:20: required from 'bool Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:142:63: required from here ./../include/ngram/ngram-complete.h:48:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | if (order >= order_states->size()) return false; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:49:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for (int i = 0; i < (*order_states)[order].size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-complete.h:61:34: warning: comparison of integer expressions of different signedness: 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 61 | if (order_states->size() <= order + 1) order_states->resize(order + 2); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngraminfo ngraminfo_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas In file included from ./../include/ngram/ngram-complete.h:27, from ngramtransfer_main.cc:22: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' ./../include/ngram/ngram-transfer.h:68:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:83:39: required from 'bool Transfer(std::string, int, char**) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:139:71: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngraminfo ngraminfo_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' ./../include/ngram/ngram-transfer.h:68:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:83:39: required from 'bool Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:142:63: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngrammake ngrammake_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::HistogramArc; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::HistogramArc]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::HistogramArc; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' ./../include/ngram/ngram-transfer.h:68:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:83:39: required from 'bool Transfer(std::string, int, char**) [with Arc = fst::HistogramArc; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:139:71: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-transfer.h:108:9: required from 'void ngram::NGramTransfer::InitSrc(const fst::Fst&, const string&, ngram::NGramTransfer::Label, double) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string; ngram::NGramTransfer::Label = int]' ./../include/ngram/ngram-transfer.h:68:5: required from 'bool ngram::NGramTransfer::TransferNGramsFrom(const fst::Fst&, const string&) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:83:39: required from 'bool Transfer(std::string, int, char**) [with Arc = fst::ArcTpl >; std::string = std::__cxx11::basic_string]' ngramtransfer_main.cc:142:63: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngrammake ngrammake_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngrammarginalize ngrammarginalize_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngrammarginalize ngrammarginalize_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngrammerge ngrammerge_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngrammerge ngrammerge_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramperplexity ngramperplexity_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramperplexity ngramperplexity_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramprint ngramprint_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramprint ngramprint_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramrandgen ngramrandgen_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramrandgen ngramrandgen_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramread ngramread_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramread ngramread_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramshrink ngramshrink_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramshrink ngramshrink_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramsort ngramsort_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramsort ngramsort_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramsymbols ngramsymbols_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramsymbols ngramsymbols_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramsplit ngramsplit_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramsplit ngramsplit_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramtransfer ngramtransfer_main.o ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramtransfer ngramtransfer_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramapply ngramapply_main.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramapply ngramapply_main.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' Making all in test make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramhisttest.o ngramhisttest.cc g++ -DHAVE_CONFIG_H -I./../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -c -o ngramrandtest.o ngramrandtest.cc In file included from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngramrandtest.cc:31: ./../include/ngram/ngram-context.h: In static member function 'static std::string ngram::NGramContext::GetContextString(const std::vector&, const std::vector&)': ./../include/ngram/ngram-context.h:100:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i = 0; i < context_begin.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-context.h:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 103 | for (int i = 0; i < context_end.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramhisttest ngramhisttest.o -lfstscript ../lib/libngram.la ../lib/libngramhist.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas ngramrandtest.cc: In function 'void BuildRandomUnigram(fst::StdMutableFst*, int, int, std::ostream&)': ngramrandtest.cc:92:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 92 | for (size_t a = 0; a < vocabulary; ++a) { // add unigram arcs to model | ~~^~~~~~~~~~~~ libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramhisttest ngramhisttest.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl -lfstscript ../lib/.libs/libngram.so ../lib/.libs/libngramhist.so -L/usr/lib64/fst -lfst -lgsl -lopenblas In file included from ./../include/ngram/ngram-absolute.h:22, from ngramrandtest.cc:31: ./../include/ngram/ngram-count-of-counts.h: In instantiation of 'void ngram::NGramCountOfCounts::SetCounts(const StdFst&) [with Arc = fst::ArcTpl >; fst::StdFst = fst::Fst > >]': ./../include/ngram/ngram-absolute.h:45:76: required from here ./../include/ngram/ngram-count-of-counts.h:175:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 175 | while (order >= histogram_.size()) | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-seymore-shrink.h:20, from ngramrandtest.cc:41: ./../include/ngram/ngram-shrink.h: In instantiation of 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-seymore-shrink.h:47:66: required from here ./../include/ngram/ngram-shrink.h:756:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 756 | while (threshold_index < scores.size() && scores[threshold_index] == theta) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./../include/ngram/ngram-shrink.h:759:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 759 | if (threshold_index >= scores.size()) { // Sets theta more than max. | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context-merge.h:21, from ngramrandtest.cc:32: ./../include/ngram/ngram-merge.h: In instantiation of 'bool ngram::NGramMerge::MergeWordLists() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:95:10: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-merge.h:178:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 178 | for (StateId st = 0; st < ngram2_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-merge.h:219:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 219 | for (StateId j = 0; j < ngram1_ns_; ++j) exact_map_1to2_.push_back(-1); | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:221:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 221 | for (StateId ist = 0; ist < exact_map_2to1_.size(); ++ist) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:227:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 227 | for (StateId j = 0; j < ngram1_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:234:27: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 234 | for (StateId j = 0; j < ngram2_ns_; ++j) { | ~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-merge.h:339:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 339 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { // all states in ngram2 | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:364:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 364 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:368:18: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 368 | if (st < ngram1_ns_) { // shared state | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:382:33: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 382 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::NormStates() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:100:7: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-merge.h:583:31: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 583 | for (StateId ist = 0; ist < ngram2_ns_; ++ist) { | ~~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:585:14: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 585 | if (st < ngram1_ns_) { // state found in both models | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h:592:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 592 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ ./../include/ngram/ngram-merge.h: In instantiation of 'void ngram::NGramMerge::MergeBackedOffToMap() [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-merge.h:259:35: required from 'void ngram::NGramMerge::SetupMergeMaps() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:96:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-merge.h:319:29: warning: comparison of integer expressions of different signedness: 'ngram::NGramMerge > >::StateId' {aka 'int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 319 | for (StateId st = 0; st < ngram1_ns_; ++st) { | ~~~^~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngramrandtest.cc:31: ./../include/ngram/ngram-model.h: In instantiation of 'void ngram::NGramModel::UpdateState(ngram::NGramModel::StateId, int, bool, const std::vector*) [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-merge.h:342:20: required from 'void ngram::NGramMerge::MergeFsts() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-merge.h:97:5: required from 'bool ngram::NGramMerge::MergeNGramModels(const fst::Fst&, bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-context-merge.h:47:30: required from here ./../include/ngram/ngram-model.h:422:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] 422 | if (state_orders_.size() < st) { | ~~~~~~~~~~~~~~~~~~~~~^~~~ ./../include/ngram/ngram-model.h:429:30: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'ngram::NGramModel > >::StateId' {aka 'int'} [-Wsign-compare] 429 | if (state_orders_.size() == st) { // add state info | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-model-merge.h:50:35: required from here ./../include/ngram/ngram-model.h:207:45: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 207 | if (unigram_ != -1 && ascending_ngrams_ != nstates_ - 2) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-seymore-shrink.h:20, from ngramrandtest.cc:41: ./../include/ngram/ngram-shrink.h: In instantiation of 'void ngram::NGramShrink::GetNGramsAndOrScoresMinOrder(std::vector >*, std::vector*, int) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]': ./../include/ngram/ngram-shrink.h:567:3: required from 'void ngram::NGramShrink::GetNGramsAndOrScores(std::vector >*, std::vector*, bool) [with Arc = fst::ArcTpl >; typename Arc::Label = int; typename Arc::Label = int]' ./../include/ngram/ngram-shrink.h:738:21: required from 'double ngram::NGramShrink::ThetaForMaxNGrams(int, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-seymore-shrink.h:47:66: required from here ./../include/ngram/ngram-shrink.h:602:39: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 602 | } else if (state_ngram.size() < min_order - 1) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-absolute.h:23, from ngramrandtest.cc:31: ./../include/ngram/ngram-make.h: In instantiation of 'double ngram::NGramMake::CalculateHiOrderMass(const std::vector&, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-make.h:144:30: required from 'void ngram::NGramMake::SmoothState(ngram::NGramMake::StateId) [with Arc = fst::ArcTpl >; ngram::NGramMake::StateId = int]' ./../include/ngram/ngram-make.h:77:11: required from 'bool ngram::NGramMake::MakeNGramModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-witten-bell.h:39:45: required from here ./../include/ngram/ngram-make.h:118:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 118 | for (int i = 1; i < discounts.size(); ++i) { // Sum discount counts | ~~^~~~~~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngramrandtest.cc:31: ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::CheckStateNGrams(ngram::NGramModel::StateId, const Arc&) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]': ./../include/ngram/ngram-model.h:790:34: required from 'bool ngram::NGramModel::CheckTopologyState(ngram::NGramModel::StateId) const [with Arc = fst::ArcTpl >; ngram::NGramModel::StateId = int]' ./../include/ngram/ngram-model.h:205:12: required from 'bool ngram::NGramModel::CheckTopology() const [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:297:10: required from 'void ngram::NGramModel::InitModel() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-model.h:128:5: required from 'ngram::NGramModel::NGramModel(const fst::Fst&, ngram::NGramModel::Label, double, bool) [with Arc = fst::ArcTpl >; ngram::NGramModel::Label = int]' ./../include/ngram/ngram-model-merge.h:50:35: required from here ./../include/ngram/ngram-model.h:816:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 816 | for (int i = j; i < state_ngrams_[st].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h:818:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 818 | if (!boa && j <= state_ngrams_[st].size()) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ngram/ngram-model.h: In instantiation of 'bool ngram::NGramModel::StationaryStateProbs(std::vector*, double, double, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]': ./../include/ngram/ngram-model.h:401:13: required from 'bool ngram::NGramModel::CalculateStateProbs(std::vector*, bool, size_t) const [with Arc = fst::ArcTpl >; size_t = long unsigned int]' ./../include/ngram/ngram-shrink.h:493:22: required from 'void ngram::NGramShrink::FillStateProbs() [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:440:5: required from 'void ngram::NGramShrink::CalculateShrinkScores(bool) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-shrink.h:460:3: required from 'bool ngram::NGramShrink::ShrinkNGramModel(bool, int) [with Arc = fst::ArcTpl >]' ./../include/ngram/ngram-seymore-shrink.h:39:33: required from here ./../include/ngram/ngram-model.h:1033:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] 1033 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ ./../include/ngram/ngram-model.h:1040:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const StateId' {aka 'const int'} [-Wsign-compare] 1040 | for (size_t st = 0; st < nstates_; ++st) { | ~~~^~~~~~~~~~ In file included from ngramrandtest.cc:40: ./../include/ngram/ngram-randgen.h: In instantiation of 'bool fst::ArcSampler >::Sample(const fst::RandState&) [with A = fst::ArcTpl >]': /usr/include/fst/randgen.h:498:21: required from 'void fst::internal::RandGenFstImpl::Expand(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::StateId = int]' /usr/include/fst/randgen.h:453:23: required from 'fst::internal::RandGenFstImpl::ToWeight fst::internal::RandGenFstImpl::Final(fst::internal::RandGenFstImpl::StateId) [with FromArc = fst::ArcTpl >; ToArc = fst::ArcTpl >; Sampler = fst::ArcSampler >, ngram::NGramArcSelector > > >; fst::internal::RandGenFstImpl::ToWeight = fst::TropicalWeightTpl; fst::internal::RandGenFstImpl::StateId = int]' /usr/include/fst/fst.h:859:63: required from 'fst::ImplToFst::Weight fst::ImplToFst::Final(fst::ImplToFst::StateId) const [with Impl = fst::internal::RandGenFstImpl >, fst::ArcTpl >, fst::ArcSampler >, ngram::NGramArcSelector > > > >; FST = fst::Fst > >; fst::ImplToFst::Weight = fst::TropicalWeightTpl; fst::ImplToFst::StateId = int]' /usr/include/fst/fst.h:859:10: required from here ./../include/ngram/ngram-randgen.h:129:23: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'int' [-Wsign-compare] 129 | rstate.length == max_length_) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from ./../include/ngram/ngram-context.h:27, from ./../include/ngram/ngram-count-of-counts.h:24, from ./../include/ngram/ngram-absolute.h:22, from ngramrandtest.cc:31: ./../include/ngram/ngram-model.h: In member function 'double ngram::NGramModel::CalcBruteLowSum(ngram::NGramModel::StateId, ngram::NGramModel::StateId, double) const [with Arc = fst::ArcTpl >]': ./../include/ngram/ngram-model.h:1072:18: warning: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' may be used uninitialized in this function [-Wmaybe-uninitialized] 1072 | return w.Value(); | ^ ./../include/ngram/ngram-model.h:669:9: note: '*((void*)(& barc)+8).fst::FloatWeightTpl::value_' was declared here 669 | Arc barc; | ^~~~ ./../include/ngram/ngram-model.h:688:7: warning: 'barc.fst::ArcTpl >::ilabel' may be used uninitialized in this function [-Wmaybe-uninitialized] 688 | if (barc.ilabel != backoff_label_) | ^~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -L/usr/local/lib/fst -lfstfar -lfst -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngramrandtest ngramrandtest.o ../lib/libngram.la -L/usr/lib64/fst -Wl,-rpath=/usr/lib64/fst -lfst -lgsl -lopenblas libtool: link: DIE_RPATH_DIE="/usr/lib64:" g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_GSL -std=c++11 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/ngramrandtest ngramrandtest.o -Wl,-rpath=/usr/lib64/fst -L/usr/local/lib/fst -lfstfar -lm -ldl ../lib/.libs/libngram.so -L/usr/lib64/fst -lfst -lgsl -lopenblas make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' + chrpath -d src/lib/.libs/libngram.so.134.0.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0BjV82 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64 + cd opengrm-ngram-1.3.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/include/ngram' /usr/bin/install -p -m 644 ngram/hist-arc.h ngram/hist-mapper.h ngram/lexicographic-map.h ngram/ngram.h ngram/ngram-absolute.h ngram/ngram-bayes-model-merge.h ngram/ngram-complete.h ngram/ngram-context.h ngram/ngram-context-merge.h ngram/ngram-context-prune.h ngram/ngram-count.h ngram/ngram-count-merge.h ngram/ngram-count-of-counts.h ngram/ngram-count-prune.h ngram/ngram-hist-merge.h ngram/ngram-input.h ngram/ngram-katz.h ngram/ngram-kneser-ney.h ngram/ngram-make.h ngram/ngram-marginalize.h ngram/ngram-merge.h ngram/ngram-model.h ngram/ngram-model-merge.h ngram/ngram-mutable-model.h ngram/ngram-output.h ngram/ngram-randgen.h ngram/ngram-relentropy.h ngram/ngram-seymore-shrink.h ngram/ngram-shrink.h ngram/ngram-split.h ngram/ngram-transfer.h ngram/ngram-unsmoothed.h ngram/ngram-witten-bell.h ngram/util.h '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/include/ngram' make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64' /bin/sh ../../libtool --mode=install /usr/bin/install -p libngram.la libngramhist.la hist-arc.la '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libngram.so.134.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/libngram.so.134.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64 && { ln -s -f libngram.so.134.0.0 libngram.so.134 || { rm -f libngram.so.134 && ln -s libngram.so.134.0.0 libngram.so.134; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64 && { ln -s -f libngram.so.134.0.0 libngram.so || { rm -f libngram.so && ln -s libngram.so.134.0.0 libngram.so; }; }) libtool: install: /usr/bin/install -p .libs/libngram.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/libngram.la libtool: install: /usr/bin/install -p .libs/libngramhist.so.134.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/libngramhist.so.134.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64 && { ln -s -f libngramhist.so.134.0.0 libngramhist.so.134 || { rm -f libngramhist.so.134 && ln -s libngramhist.so.134.0.0 libngramhist.so.134; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64 && { ln -s -f libngramhist.so.134.0.0 libngramhist.so || { rm -f libngramhist.so && ln -s libngramhist.so.134.0.0 libngramhist.so; }; }) libtool: install: /usr/bin/install -p .libs/libngramhist.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/libngramhist.la libtool: install: /usr/bin/install -p .libs/hist-arc.so.0.0.0 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/hist-arc.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64 && { ln -s -f hist-arc.so.0.0.0 hist-arc.so.0 || { rm -f hist-arc.so.0 && ln -s hist-arc.so.0.0.0 hist-arc.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64 && { ln -s -f hist-arc.so.0.0.0 hist-arc.so || { rm -f hist-arc.so && ln -s hist-arc.so.0.0.0 hist-arc.so; }; }) libtool: install: /usr/bin/install -p .libs/hist-arc.lai /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/hist-arc.la libtool: install: warning: remember to run `libtool --finish /usr/lib64' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' Making install in bin make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p ngramapply ngramcontext ngramcount ngraminfo ngrammake ngrammarginalize ngrammerge ngramperplexity ngramprint ngramrandgen ngramread ngramshrink ngramsort ngramsplit ngramsymbols ngramtransfer '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin' libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramapply /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramapply libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramcontext /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramcontext libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramcount /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramcount libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngraminfo /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngraminfo libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammake /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammake libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammarginalize /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammarginalize libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngrammerge /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammerge libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramperplexity /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramperplexity libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramprint /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramprint libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramrandgen /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramrandgen libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramread /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramread libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramshrink /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramshrink libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsort /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsort libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsplit /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsplit libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramsymbols /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsymbols libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramtransfer /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramtransfer make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' Making install in test make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p ngramhisttest ngramrandtest '/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin' libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: warning: `../lib/libngramhist.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramhisttest /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramhisttest libtool: install: warning: `../lib/libngram.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -p .libs/ngramrandtest /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramrandtest make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' + rm -f /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/hist-arc.la /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/libngram.la /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/libngramhist.la + export LD_LIBRARY_PATH=/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64 + LD_LIBRARY_PATH=/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramapply + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramapply -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramapply.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramcontext + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramcontext -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramcontext.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramcount + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramcount -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramcount.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramhisttest + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramhisttest -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramhisttest.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngraminfo + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngraminfo -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngraminfo.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammake + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammake -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngrammake.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammarginalize + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammarginalize -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngrammarginalize.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammerge + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammerge -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngrammerge.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramperplexity + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramperplexity -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramperplexity.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramprint + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramprint -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramprint.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramrandgen + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramrandgen -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramrandgen.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramrandtest + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramrandtest -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramrandtest.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramread + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramread -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramread.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramshrink + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramshrink -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramshrink.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsort + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsort -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramsort.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsplit + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsplit -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramsplit.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsymbols + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsymbols -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramsymbols.1 + for f in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/* ++ basename /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramtransfer + help2man -N --version-string=1.3.4 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramtransfer -o /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramtransfer.1 + sed -e '2s/"1" "[[:alpha:]]* [[:digit:]]*"/"1" "January 2018"/' -e 's,/builddir.*/usr/bin/,,g' -i /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramapply.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramcontext.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramcount.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramhisttest.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngraminfo.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngrammake.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngrammarginalize.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngrammerge.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramperplexity.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramprint.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramrandgen.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramrandtest.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramread.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramshrink.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramsort.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramsplit.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramsymbols.1 /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/man/man1/ngramtransfer.1 + sed '/Faster multinomial sampling/a#define HAVE_GSL' /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/include/ngram/ngram-randgen.h + touch -r /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/include/ngram/ngram-randgen.h foo + mv -f foo /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/include/ngram/ngram-randgen.h + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.3.4-9.fc33 --unique-debug-suffix -1.3.4-9.fc33.riscv64 --unique-debug-src-base opengrm-ngram-1.3.4-9.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/opengrm-ngram-1.3.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramcontext explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramapply explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramhisttest explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramcount extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramapply extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramcontext extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramhisttest extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramcount explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngraminfo extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngraminfo explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammake extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammake explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammarginalize extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammarginalize explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammerge extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngrammerge explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramperplexity extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramperplexity explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramprint extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramprint explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramrandgen extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramrandgen explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramrandtest extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramrandtest explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramread extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramread explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramshrink extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramshrink explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsort extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsort explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsplit extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsplit explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsymbols extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramsymbols explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramtransfer extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/bin/ngramtransfer explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/hist-arc.so.0.0.0 extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/hist-arc.so.0.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/libngram.so.134.0.0 extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/libngram.so.134.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/libngramhist.so.134.0.0 extracting debug info from /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/lib64/libngramhist.so.134.0.0 original debug info size: 245012kB, size after compression: 193184kB /usr/lib/rpm/sepdebugcrcfix: Updated 21 CRC32s, 0 CRC32s did match. 927 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.dM2lh2 + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.4 + LD_LIBRARY_PATH=/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib/.libs + make check Making check in src make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' Making check in include make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/include' Making check in lib make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/lib' Making check in bin make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/bin' Making check in test make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make disttestsetup.sh ngramapply_test.sh ngramcompile_randgen_far.sh ngramcount_histograms_test.sh ngramcount_test.sh ngramdistrand.sh ngramdistcount_test.sh ngramdistmake_test.sh ngramdistshrink_test.sh ngramdistwittenbell_test.sh ngramfracdistmake_test.sh ngramfracdistshrink_test.sh ngraminfo_test.sh ngrammake_test.sh ngrammarginalize_test.sh ngrammerge_test.sh ngramperplexity_test.sh ngramprint_test.sh ngramrandgen_test.sh ngramrandtest_seed.sh ngramrand_test.sh ngramshrink_test.sh ngramsymbols_test.sh make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[3]: Nothing to be done for 'disttestsetup.sh'. make[3]: Nothing to be done for 'ngramapply_test.sh'. make[3]: Nothing to be done for 'ngramcompile_randgen_far.sh'. make[3]: Nothing to be done for 'ngramcount_histograms_test.sh'. make[3]: Nothing to be done for 'ngramcount_test.sh'. make[3]: Nothing to be done for 'ngramdistrand.sh'. make[3]: Nothing to be done for 'ngramdistcount_test.sh'. make[3]: Nothing to be done for 'ngramdistmake_test.sh'. make[3]: Nothing to be done for 'ngramdistshrink_test.sh'. make[3]: Nothing to be done for 'ngramdistwittenbell_test.sh'. make[3]: Nothing to be done for 'ngramfracdistmake_test.sh'. make[3]: Nothing to be done for 'ngramfracdistshrink_test.sh'. make[3]: Nothing to be done for 'ngraminfo_test.sh'. make[3]: Nothing to be done for 'ngrammake_test.sh'. make[3]: Nothing to be done for 'ngrammarginalize_test.sh'. make[3]: Nothing to be done for 'ngrammerge_test.sh'. make[3]: Nothing to be done for 'ngramperplexity_test.sh'. make[3]: Nothing to be done for 'ngramprint_test.sh'. make[3]: Nothing to be done for 'ngramrandgen_test.sh'. make[3]: Nothing to be done for 'ngramrandtest_seed.sh'. make[3]: Nothing to be done for 'ngramrand_test.sh'. make[3]: Nothing to be done for 'ngramshrink_test.sh'. make[3]: Nothing to be done for 'ngramsymbols_test.sh'. make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[4]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' PASS: ngramapply_test.sh PASS: ngramcount_histograms_test.sh PASS: ngramcount_test.sh PASS: ngramdistcount_test.sh PASS: ngramdistmake_test.sh PASS: ngramdistshrink_test.sh PASS: ngramdistwittenbell_test.sh PASS: ngramfracdistmake_test.sh PASS: ngramfracdistshrink_test.sh PASS: ngraminfo_test.sh PASS: ngrammake_test.sh PASS: ngrammarginalize_test.sh PASS: ngrammerge_test.sh PASS: ngramperplexity_test.sh PASS: ngramprint_test.sh PASS: ngramrandgen_test.sh PASS: ngramrand_test.sh PASS: ngramshrink_test.sh PASS: ngramsymbols_test.sh make[5]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[5]: Nothing to be done for 'all'. make[5]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' ============================================================================ Testsuite summary for OpenGrm NGram 1.3.4 ============================================================================ # TOTAL: 19 # PASS: 19 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[3]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src/test' make[2]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4/src' make[1]: Entering directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' make[1]: Leaving directory '/builddir/build/BUILD/opengrm-ngram-1.3.4' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: opengrm-ngram-1.3.4-9.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zkLw31 + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.4 + DOCDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/doc/opengrm-ngram + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/doc/opengrm-ngram + cp -pr AUTHORS /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/doc/opengrm-ngram + cp -pr NEWS /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/doc/opengrm-ngram + cp -pr README /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/doc/opengrm-ngram + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BNSqF5 + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/licenses/opengrm-ngram + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/licenses/opengrm-ngram + cp -pr COPYING /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64/usr/share/licenses/opengrm-ngram + RPM_EC=0 ++ jobs -p + exit 0 Provides: libngram.so.134()(64bit) libngramhist.so.134()(64bit) opengrm-ngram = 1.3.4-9.fc33 opengrm-ngram(riscv-64) = 1.3.4-9.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libfst.so.13()(64bit) libfstscript.so.13()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: opengrm-ngram-devel-1.3.4-9.fc33.riscv64 Provides: opengrm-ngram-devel = 1.3.4-9.fc33 opengrm-ngram-devel(riscv-64) = 1.3.4-9.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libngram.so.134()(64bit) libngramhist.so.134()(64bit) Processing files: opengrm-ngram-tools-1.3.4-9.fc33.riscv64 Provides: opengrm-ngram-tools = 1.3.4-9.fc33 opengrm-ngram-tools(riscv-64) = 1.3.4-9.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libfst.so.13()(64bit) libfstfar.so.13()(64bit) libfstscript.so.13()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libgsl.so.23()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libngram.so.134()(64bit) libopenblas.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: opengrm-ngram-debugsource-1.3.4-9.fc33.riscv64 Provides: opengrm-ngram-debugsource = 1.3.4-9.fc33 opengrm-ngram-debugsource(riscv-64) = 1.3.4-9.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: opengrm-ngram-debuginfo-1.3.4-9.fc33.riscv64 Provides: debuginfo(build-id) = 1f3d94d7db7f992529e671e5e690a6ae65e2ea61 debuginfo(build-id) = 571767b3553c274be5485c771081f10124d5e524 debuginfo(build-id) = afffdb2306d4bda5f70ef256b2948d93387e1090 opengrm-ngram-debuginfo = 1.3.4-9.fc33 opengrm-ngram-debuginfo(riscv-64) = 1.3.4-9.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opengrm-ngram-debugsource(riscv-64) = 1.3.4-9.fc33 Processing files: opengrm-ngram-tools-debuginfo-1.3.4-9.fc33.riscv64 Provides: debuginfo(build-id) = 12613f29aa1232203f021d803c420c7fc608d744 debuginfo(build-id) = 12923d23a324e5622473ad99ba023f10388c479c debuginfo(build-id) = 13e5f6dea2cb9e04d2c1295c6c11be4d26a722ce debuginfo(build-id) = 3c32a0c2a5adb2535694a5ceb9aa83f140dadc17 debuginfo(build-id) = 47102e1446efeb0f66750faf4dafa34c2e2312f1 debuginfo(build-id) = 48ecf17965081148eed7dc5ac37cadb393fd7e40 debuginfo(build-id) = 515cca6d0a3611dd8b742324c1c4c999849aaff8 debuginfo(build-id) = 5766864a048737b656be2ed207d3c0b070636648 debuginfo(build-id) = 5ca0ebeb9e0876d8a796e3a465853f235ec7f4dd debuginfo(build-id) = 6803552b48176a6828eecf154ce165e83b3b2030 debuginfo(build-id) = 7e0e5ca402d314464dfa8cdec3255bd0a62cd0aa debuginfo(build-id) = 8f0e5172c6df065642d9fd391ef7de327a78af6d debuginfo(build-id) = 9e21128bef39fd4c087c363a7162d7f5f8efd922 debuginfo(build-id) = a8e9bc302e6da85592306e4dddb974d163647c81 debuginfo(build-id) = b5ed3aa06543b8a2cc007af4f0d4d4783ec2f47f debuginfo(build-id) = e54eb4b2e94817b22b3464569a6934cac93ccf06 debuginfo(build-id) = e7bde2428855caeed97a8a27c7b89695df44ac2c debuginfo(build-id) = fe358c0484e1a8b3221be0367701a017b3e3e7e2 opengrm-ngram-tools-debuginfo = 1.3.4-9.fc33 opengrm-ngram-tools-debuginfo(riscv-64) = 1.3.4-9.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: opengrm-ngram-debugsource(riscv-64) = 1.3.4-9.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64 Wrote: /builddir/build/RPMS/opengrm-ngram-devel-1.3.4-9.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-debugsource-1.3.4-9.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-tools-1.3.4-9.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-1.3.4-9.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-tools-debuginfo-1.3.4-9.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/opengrm-ngram-debuginfo-1.3.4-9.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.G2maX1 + umask 022 + cd /builddir/build/BUILD + cd opengrm-ngram-1.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/opengrm-ngram-1.3.4-9.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0