Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/fasttext.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1099636-30073/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/fasttext.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/fasttext-0.9.2-6.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/fasttext.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1099636-30073/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/fasttext.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eer37P + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fastText-0.9.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fasttext-0.9.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fastText-0.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/enable-install-lib64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/respect-cmake-cxxflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.c9wg4y + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fastText-0.9.2 + export 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON . CMake Deprecation Warning at CMakeLists.txt:9 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (37.4s) -- Generating done (0.7s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build + V=1 + /usr/bin/cmake --build redhat-linux-build -j8 --verbose Change Dir: '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j8 /usr/bin/cmake -S/builddir/build/BUILD/fastText-0.9.2 -B/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build/CMakeFiles /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/fasttext-shared.dir/build.make CMakeFiles/fasttext-shared.dir/depend /usr/bin/gmake -f CMakeFiles/fasttext-static.dir/build.make CMakeFiles/fasttext-static.dir/depend /usr/bin/gmake -f CMakeFiles/fasttext-static_pic.dir/build.make CMakeFiles/fasttext-static_pic.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' cd /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/fastText-0.9.2 /builddir/build/BUILD/fastText-0.9.2 /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build/CMakeFiles/fasttext-shared.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' cd /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/fastText-0.9.2 /builddir/build/BUILD/fastText-0.9.2 /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build/CMakeFiles/fasttext-static.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' cd /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/fastText-0.9.2 /builddir/build/BUILD/fastText-0.9.2 /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build /builddir/build/BUILD/fastText-0.9.2/redhat-linux-build/CMakeFiles/fasttext-static_pic.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/fasttext-shared.dir/build.make CMakeFiles/fasttext-shared.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/fasttext-static.dir/build.make CMakeFiles/fasttext-static.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/fasttext-static_pic.dir/build.make CMakeFiles/fasttext-static_pic.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' [ 2%] Building CXX object CMakeFiles/fasttext-shared.dir/src/args.cc.o [ 4%] Building CXX object CMakeFiles/fasttext-shared.dir/src/densematrix.cc.o /usr/bin/g++ -Dfasttext_shared_EXPORTS -I/builddir/build/BUILD/fastText-0.9.2/fasttext -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -fPIC -MD -MT CMakeFiles/fasttext-shared.dir/src/args.cc.o -MF CMakeFiles/fasttext-shared.dir/src/args.cc.o.d -o CMakeFiles/fasttext-shared.dir/src/args.cc.o -c /builddir/build/BUILD/fastText-0.9.2/src/args.cc /usr/bin/g++ -Dfasttext_shared_EXPORTS -I/builddir/build/BUILD/fastText-0.9.2/fasttext -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -fPIC -MD -MT CMakeFiles/fasttext-shared.dir/src/densematrix.cc.o -MF CMakeFiles/fasttext-shared.dir/src/densematrix.cc.o.d -o CMakeFiles/fasttext-shared.dir/src/densematrix.cc.o -c /builddir/build/BUILD/fastText-0.9.2/src/densematrix.cc [ 6%] Building CXX object CMakeFiles/fasttext-shared.dir/src/fasttext.cc.o [ 12%] Building CXX object CMakeFiles/fasttext-static.dir/src/args.cc.o [ 12%] Building CXX object CMakeFiles/fasttext-shared.dir/src/autotune.cc.o [ 12%] Building CXX object CMakeFiles/fasttext-shared.dir/src/dictionary.cc.o /usr/bin/g++ -Dfasttext_shared_EXPORTS -I/builddir/build/BUILD/fastText-0.9.2/fasttext -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -fPIC -MD -MT CMakeFiles/fasttext-shared.dir/src/fasttext.cc.o -MF CMakeFiles/fasttext-shared.dir/src/fasttext.cc.o.d -o CMakeFiles/fasttext-shared.dir/src/fasttext.cc.o -c /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc /usr/bin/g++ -I/builddir/build/BUILD/fastText-0.9.2/fasttext -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -MD -MT CMakeFiles/fasttext-static.dir/src/args.cc.o -MF CMakeFiles/fasttext-static.dir/src/args.cc.o.d -o CMakeFiles/fasttext-static.dir/src/args.cc.o -c /builddir/build/BUILD/fastText-0.9.2/src/args.cc /usr/bin/g++ -Dfasttext_shared_EXPORTS -I/builddir/build/BUILD/fastText-0.9.2/fasttext -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -fPIC -MD -MT CMakeFiles/fasttext-shared.dir/src/autotune.cc.o -MF CMakeFiles/fasttext-shared.dir/src/autotune.cc.o.d -o CMakeFiles/fasttext-shared.dir/src/autotune.cc.o -c /builddir/build/BUILD/fastText-0.9.2/src/autotune.cc /usr/bin/g++ -Dfasttext_shared_EXPORTS -I/builddir/build/BUILD/fastText-0.9.2/fasttext -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -fPIC -MD -MT CMakeFiles/fasttext-shared.dir/src/dictionary.cc.o -MF CMakeFiles/fasttext-shared.dir/src/dictionary.cc.o.d -o CMakeFiles/fasttext-shared.dir/src/dictionary.cc.o -c /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc [ 14%] Building CXX object CMakeFiles/fasttext-static_pic.dir/src/args.cc.o /usr/bin/g++ -I/builddir/build/BUILD/fastText-0.9.2/fasttext -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -fPIC -MD -MT CMakeFiles/fasttext-static_pic.dir/src/args.cc.o -MF CMakeFiles/fasttext-static_pic.dir/src/args.cc.o.d -o CMakeFiles/fasttext-static_pic.dir/src/args.cc.o -c /builddir/build/BUILD/fastText-0.9.2/src/args.cc [ 17%] Building CXX object CMakeFiles/fasttext-static.dir/src/autotune.cc.o /usr/bin/g++ -I/builddir/build/BUILD/fastText-0.9.2/fasttext -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -MD -MT CMakeFiles/fasttext-static.dir/src/autotune.cc.o -MF CMakeFiles/fasttext-static.dir/src/autotune.cc.o.d -o CMakeFiles/fasttext-static.dir/src/autotune.cc.o -c /builddir/build/BUILD/fastText-0.9.2/src/autotune.cc In file included from /builddir/build/BUILD/fastText-0.9.2/src/matrix.h:16, from /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h:18, from /builddir/build/BUILD/fastText-0.9.2/src/densematrix.cc:9: /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h: In member function 'const fasttext::real& fasttext::DenseMatrix::at(int64_t, int64_t) const': /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | assert(i * n_ + j < data_.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc: In member function 'void fasttext::Args::parseArgs(const std::vector >&)': /builddir/build/BUILD/fastText-0.9.2/src/args.cc:120:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 120 | for (int ai = 2; ai < args.size(); ai += 2) { | ~~~^~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:221:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 221 | } catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc: In member function 'void fasttext::Args::parseArgs(const std::vector >&)': /builddir/build/BUILD/fastText-0.9.2/src/args.cc:120:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 120 | for (int ai = 2; ai < args.size(); ai += 2) { | ~~~^~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc: In member function 'void fasttext::Args::parseArgs(const std::vector >&)': /builddir/build/BUILD/fastText-0.9.2/src/args.cc:120:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 120 | for (int ai = 2; ai < args.size(); ai += 2) { | ~~~^~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:221:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 221 | } catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:221:19: warning: catching polymorphic type 'class std::out_of_range' by value [-Wcatch-value=] 221 | } catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc: In member function 'int64_t fasttext::Args::getAutotuneModelSize() const': /builddir/build/BUILD/fastText-0.9.2/src/args.cc:468:3: error: 'uint64_t' was not declared in this scope 468 | uint64_t multiplier = 1; | ^~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:17:1: note: 'uint64_t' is defined in header ''; did you forget to '#include '? 16 | #include +++ |+#include 17 | /builddir/build/BUILD/fastText-0.9.2/src/args.cc:471:5: error: 'multiplier' was not declared in this scope 471 | multiplier = units[lastCharacter]; | ^~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:474:11: error: expected ';' before 'size' 474 | uint64_t size = 0; | ^~~~~ | ; /builddir/build/BUILD/fastText-0.9.2/src/args.cc:478:5: error: 'size' was not declared in this scope; did you mean 'std::size'? 478 | size = std::stol(modelSize, &nonNumericCharacter); | ^~~~ | std::size In file included from /usr/include/c++/13/string:53, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/istream:40, from /builddir/build/BUILD/fastText-0.9.2/src/args.h:11, from /builddir/build/BUILD/fastText-0.9.2/src/args.cc:9: /usr/include/c++/13/bits/range_access.h:274:5: note: 'std::size' declared here 274 | size(const _Tp (&)[_Nm]) noexcept | ^~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:490:10: error: 'size' was not declared in this scope; did you mean 'std::size'? 490 | return size * multiplier; | ^~~~ | std::size /usr/include/c++/13/bits/range_access.h:274:5: note: 'std::size' declared here 274 | size(const _Tp (&)[_Nm]) noexcept | ^~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:490:17: error: 'multiplier' was not declared in this scope 490 | return size * multiplier; | ^~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc: In member function 'int64_t fasttext::Args::getAutotuneModelSize() const': /builddir/build/BUILD/fastText-0.9.2/src/args.cc:468:3: error: 'uint64_t' was not declared in this scope 468 | uint64_t multiplier = 1; | ^~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:17:1: note: 'uint64_t' is defined in header ''; did you forget to '#include '? 16 | #include +++ |+#include 17 | /builddir/build/BUILD/fastText-0.9.2/src/args.cc:471:5: error: 'multiplier' was not declared in this scope 471 | multiplier = units[lastCharacter]; | ^~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:474:11: error: expected ';' before 'size' 474 | uint64_t size = 0; | ^~~~~ | ; /builddir/build/BUILD/fastText-0.9.2/src/args.cc:478:5: error: 'size' was not declared in this scope; did you mean 'std::size'? 478 | size = std::stol(modelSize, &nonNumericCharacter); | ^~~~ | std::size In file included from /usr/include/c++/13/string:53, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/istream:40, from /builddir/build/BUILD/fastText-0.9.2/src/args.h:11, from /builddir/build/BUILD/fastText-0.9.2/src/args.cc:9: /usr/include/c++/13/bits/range_access.h:274:5: note: 'std::size' declared here 274 | size(const _Tp (&)[_Nm]) noexcept | ^~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:490:10: error: 'size' was not declared in this scope; did you mean 'std::size'? 490 | return size * multiplier; | ^~~~ | std::size /usr/include/c++/13/bits/range_access.h:274:5: note: 'std::size' declared here 274 | size(const _Tp (&)[_Nm]) noexcept | ^~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:490:17: error: 'multiplier' was not declared in this scope 490 | return size * multiplier; | ^~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc: In member function 'int64_t fasttext::Args::getAutotuneModelSize() const': /builddir/build/BUILD/fastText-0.9.2/src/args.cc:468:3: error: 'uint64_t' was not declared in this scope 468 | uint64_t multiplier = 1; | ^~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:17:1: note: 'uint64_t' is defined in header ''; did you forget to '#include '? 16 | #include +++ |+#include 17 | /builddir/build/BUILD/fastText-0.9.2/src/args.cc:471:5: error: 'multiplier' was not declared in this scope 471 | multiplier = units[lastCharacter]; | ^~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:474:11: error: expected ';' before 'size' 474 | uint64_t size = 0; | ^~~~~ | ; /builddir/build/BUILD/fastText-0.9.2/src/args.cc:478:5: error: 'size' was not declared in this scope; did you mean 'std::size'? 478 | size = std::stol(modelSize, &nonNumericCharacter); | ^~~~ | std::size In file included from /usr/include/c++/13/string:53, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/istream:40, from /builddir/build/BUILD/fastText-0.9.2/src/args.h:11, from /builddir/build/BUILD/fastText-0.9.2/src/args.cc:9: /usr/include/c++/13/bits/range_access.h:274:5: note: 'std::size' declared here 274 | size(const _Tp (&)[_Nm]) noexcept | ^~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:490:10: error: 'size' was not declared in this scope; did you mean 'std::size'? 490 | return size * multiplier; | ^~~~ | std::size /usr/include/c++/13/bits/range_access.h:274:5: note: 'std::size' declared here 274 | size(const _Tp (&)[_Nm]) noexcept | ^~~~ /builddir/build/BUILD/fastText-0.9.2/src/args.cc:490:17: error: 'multiplier' was not declared in this scope 490 | return size * multiplier; | ^~~~~~~~~~ gmake[2]: *** [CMakeFiles/fasttext-static.dir/build.make:79: CMakeFiles/fasttext-static.dir/src/args.cc.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... /builddir/build/BUILD/fastText-0.9.2/src/densematrix.cc: In member function 'void fasttext::DenseMatrix::uniform(fasttext::real, unsigned int, int32_t)': /builddir/build/BUILD/fastText-0.9.2/src/densematrix.cc:48:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 48 | for (int i = 0; i < thread; i++) { | ~~^~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/densematrix.cc:51:27: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 51 | for (int32_t i = 0; i < threads.size(); i++) { | ~~^~~~~~~~~~~~~~~~ [ 19%] Building CXX object CMakeFiles/fasttext-shared.dir/src/loss.cc.o /usr/bin/g++ -Dfasttext_shared_EXPORTS -I/builddir/build/BUILD/fastText-0.9.2/fasttext -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -fPIC -MD -MT CMakeFiles/fasttext-shared.dir/src/loss.cc.o -MF CMakeFiles/fasttext-shared.dir/src/loss.cc.o.d -o CMakeFiles/fasttext-shared.dir/src/loss.cc.o -c /builddir/build/BUILD/fastText-0.9.2/src/loss.cc gmake[2]: *** [CMakeFiles/fasttext-static_pic.dir/build.make:79: CMakeFiles/fasttext-static_pic.dir/src/args.cc.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:144: CMakeFiles/fasttext-static_pic.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: *** [CMakeFiles/fasttext-shared.dir/build.make:79: CMakeFiles/fasttext-shared.dir/src/args.cc.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... [ 21%] Building CXX object CMakeFiles/fasttext-shared.dir/src/main.cc.o /usr/bin/g++ -Dfasttext_shared_EXPORTS -I/builddir/build/BUILD/fastText-0.9.2/fasttext -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -fPIC -MD -MT CMakeFiles/fasttext-shared.dir/src/main.cc.o -MF CMakeFiles/fasttext-shared.dir/src/main.cc.o.d -o CMakeFiles/fasttext-shared.dir/src/main.cc.o -c /builddir/build/BUILD/fastText-0.9.2/src/main.cc In file included from /builddir/build/BUILD/fastText-0.9.2/src/matrix.h:16, from /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h:18, from /builddir/build/BUILD/fastText-0.9.2/src/fasttext.h:23, from /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:9: /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h: In member function 'const fasttext::real& fasttext::DenseMatrix::at(int64_t, int64_t) const': /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | assert(i * n_ + j < data_.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc: In member function 'void fasttext::Dictionary::computeSubwords(const std::string&, std::vector&, std::vector >*) const': /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc:181:52: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 181 | for (size_t j = i, n = 1; j < word.size() && n <= args_->maxn; n++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc:186:13: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 186 | if (n >= args_->minn && !(n == 1 && (i == 0 || j == word.size()))) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc: In member function 'void fasttext::Dictionary::initNgrams()': /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc:198:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 198 | for (size_t i = 0; i < size_; i++) { | ~~^~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc: In member function 'void fasttext::Dictionary::initTableDiscard()': /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc:296:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 296 | for (size_t i = 0; i < size_; i++) { | ~~^~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc: In member function 'void fasttext::Dictionary::addWordNgrams(std::vector&, const std::vector&, int32_t) const': /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc:316:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 316 | for (int32_t i = 0; i < hashes.size(); i++) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc:318:31: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 318 | for (int32_t j = i + 1; j < hashes.size() && j < i + n; j++) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc: In member function 'void fasttext::Dictionary::prune(std::vector&)': /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc:515:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 515 | for (int32_t i = 0; i < words_.size(); i++) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/dictionary.cc:517:12: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 517 | (j < words.size() && words[j] == i)) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/fastText-0.9.2/src/matrix.h:16, from /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h:18, from /builddir/build/BUILD/fastText-0.9.2/src/fasttext.h:23, from /builddir/build/BUILD/fastText-0.9.2/src/autotune.h:18, from /builddir/build/BUILD/fastText-0.9.2/src/autotune.cc:9: /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h: In member function 'const fasttext::real& fasttext::DenseMatrix::at(int64_t, int64_t) const': /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | assert(i * n_ + j < data_.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/fastText-0.9.2/src/matrix.h:16, from /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h:18, from /builddir/build/BUILD/fastText-0.9.2/src/fasttext.h:23, from /builddir/build/BUILD/fastText-0.9.2/src/autotune.h:18, from /builddir/build/BUILD/fastText-0.9.2/src/autotune.cc:9: /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h: In member function 'const fasttext::real& fasttext::DenseMatrix::at(int64_t, int64_t) const': /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | assert(i * n_ + j < data_.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc: In member function 'void fasttext::FastText::getWordVector(fasttext::Vector&, const std::string&) const': /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:114:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 114 | for (int i = 0; i < ngrams.size(); i++) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc: In lambda function: /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:314:12: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 314 | if (i1 == eosid && i2 == eosid) { // satisfy strict weak ordering | ~~~^~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:314:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare] 314 | if (i1 == eosid && i2 == eosid) { // satisfy strict weak ordering | ~~~^~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:317:18: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 317 | return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]); | ~~~~~~^~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:317:34: warning: comparison of integer expressions of different signedness: 'const int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 317 | return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]); | ~~~~~~^~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc: In member function 'void fasttext::FastText::quantize(const fasttext::Args&, const TrainCallback&)': /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:337:40: warning: comparison of integer expressions of different signedness: 'const size_t' {aka 'const long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 337 | if (qargs.cutoff > 0 && qargs.cutoff < input->size(0)) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:342:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 342 | for (auto i = 0; i < idx.size(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc: In member function 'void fasttext::FastText::cbow(fasttext::Model::State&, fasttext::real, const std::vector&)': /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:393:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 393 | for (int32_t w = 0; w < line.size(); w++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:397:41: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 397 | if (c != 0 && w + c >= 0 && w + c < line.size()) { | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc: In member function 'void fasttext::FastText::skipgram(fasttext::Model::State&, fasttext::real, const std::vector&)': /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:411:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 411 | for (int32_t w = 0; w < line.size(); w++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:415:41: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 415 | if (c != 0 && w + c >= 0 && w + c < line.size()) { | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc: In member function 'void fasttext::FastText::getSentenceVector(std::istream&, fasttext::Vector&)': /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:495:27: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 495 | for (int32_t i = 0; i < line.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc: In member function 'std::vector, fasttext::Vector> > fasttext::FastText::getNgramVectors(const std::string&) const': /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:530:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 530 | for (int32_t i = 0; i < ngrams.size(); i++) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc: In member function 'std::vector > > fasttext::FastText::getNN(const fasttext::DenseMatrix&, const fasttext::Vector&, int32_t, const std::set >&)': /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:591:23: warning: comparison of integer expressions of different signedness: 'std::vector > >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 591 | if (heap.size() == k && similarity < heap.front().first) { | ~~~~~~~~~~~~^~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:596:23: warning: comparison of integer expressions of different signedness: 'std::vector > >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 596 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc: In member function 'std::shared_ptr fasttext::FastText::getInputMatrixFromFile(const std::string&) const': /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:696:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 696 | for (size_t i = 0; i < n; i++) { | ~~^~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:701:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 701 | for (size_t j = 0; j < dim; j++) { | ~~^~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:713:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 713 | for (size_t i = 0; i < n; i++) { | ~~^~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:718:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int64_t' {aka 'long int'} [-Wsign-compare] 718 | for (size_t j = 0; j < dim; j++) { | ~~^~~~~ /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc: In member function 'void fasttext::FastText::startThreads(const TrainCallback&)': /builddir/build/BUILD/fastText-0.9.2/src/fasttext.cc:803:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 803 | for (int32_t i = 0; i < threads.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/loss.cc: In member function 'void fasttext::Loss::findKBest(int32_t, fasttext::real, fasttext::Predictions&, const fasttext::Vector&) const': /builddir/build/BUILD/fastText-0.9.2/src/loss.cc:83:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 83 | if (heap.size() == k && std_log(output[i]) < heap.front().first) { | ~~~~~~~~~~~~^~~~ /builddir/build/BUILD/fastText-0.9.2/src/loss.cc:88:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 88 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ In file included from /builddir/build/BUILD/fastText-0.9.2/src/matrix.h:16, from /builddir/build/BUILD/fastText-0.9.2/src/loss.h:15, from /builddir/build/BUILD/fastText-0.9.2/src/loss.cc:9: /builddir/build/BUILD/fastText-0.9.2/src/loss.cc: In member function 'virtual fasttext::real fasttext::NegativeSamplingLoss::forward(const std::vector&, int32_t, fasttext::Model::State&, fasttext::real, bool)': /builddir/build/BUILD/fastText-0.9.2/src/loss.cc:171:22: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 171 | assert(targetIndex < targets.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/loss.cc: In member function 'virtual fasttext::real fasttext::HierarchicalSoftmaxLoss::forward(const std::vector&, int32_t, fasttext::Model::State&, fasttext::real, bool)': /builddir/build/BUILD/fastText-0.9.2/src/loss.cc:257:25: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 257 | for (int32_t i = 0; i < pathToRoot.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/fastText-0.9.2/src/loss.cc: In member function 'void fasttext::HierarchicalSoftmaxLoss::dfs(int32_t, fasttext::real, int32_t, fasttext::real, fasttext::Predictions&, const fasttext::Vector&) const': /builddir/build/BUILD/fastText-0.9.2/src/loss.cc:282:19: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 282 | if (heap.size() == k && score < heap.front().first) { | ~~~~~~~~~~~~^~~~ /builddir/build/BUILD/fastText-0.9.2/src/loss.cc:289:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 289 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ /builddir/build/BUILD/fastText-0.9.2/src/loss.cc: In member function 'virtual fasttext::real fasttext::SoftmaxLoss::forward(const std::vector&, int32_t, fasttext::Model::State&, fasttext::real, bool)': /builddir/build/BUILD/fastText-0.9.2/src/loss.cc:331:22: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 331 | assert(targetIndex < targets.size()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/fastText-0.9.2/src/matrix.h:16, from /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h:18, from /builddir/build/BUILD/fastText-0.9.2/src/fasttext.h:23, from /builddir/build/BUILD/fastText-0.9.2/src/autotune.h:18, from /builddir/build/BUILD/fastText-0.9.2/src/main.cc:14: /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h: In member function 'const fasttext::real& fasttext::DenseMatrix::at(int64_t, int64_t) const': /builddir/build/BUILD/fastText-0.9.2/src/densematrix.h:48:23: warning: comparison of integer expressions of different signedness: 'int64_t' {aka 'long int'} and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | assert(i * n_ + j < data_.size()); | ~~~~~~~~~~~^~~~~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:118: CMakeFiles/fasttext-static.dir/all] Error 2 gmake[2]: Leaving directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' gmake[1]: Leaving directory '/builddir/build/BUILD/fastText-0.9.2/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:92: CMakeFiles/fasttext-shared.dir/all] Error 2 gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.c9wg4y (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.c9wg4y (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/fasttext.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/fasttext.spec