Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tlsh.spec'], chrootPath='/var/lib/mock/f38-build-700459-88077/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tlsh.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=1674259200 Wrote: /builddir/build/SRPMS/tlsh-4.11.2-5.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tlsh.spec'], chrootPath='/var/lib/mock/f38-build-700459-88077/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tlsh.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=1674259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T9Ht2E + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tlsh-4.11.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tlsh-4.11.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tlsh-4.11.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'set(CMAKE_CXX_FLAGS "-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")' + tee -a src/CMakeLists.txt + tee -a test/CMakeLists.txt + tee -a utils/CMakeLists.txt set(CMAKE_CXX_FLAGS "-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") + sed -r -i '/CMAKE_EXE_LINKER_FLAGS.*-static-libstdc/d' CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RfSNRH + 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 tlsh-4.11.2 + 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 + /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:54 (cmake_minimum_required): Compatibility with CMake < 2.8.12 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.0.1 -- The CXX compiler identification is GNU 13.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (6.3s) -- Generating done (0.1s) 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/tlsh-4.11.2/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/tlsh-4.11.2 -B/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/CMakeFiles /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/tlsh_static.dir/build.make src/CMakeFiles/tlsh_static.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tlsh-4.11.2 /builddir/build/BUILD/tlsh-4.11.2/src /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/src /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/src/CMakeFiles/tlsh_static.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/tlsh_static.dir/build.make src/CMakeFiles/tlsh_static.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 20%] Building CXX object src/CMakeFiles/tlsh_static.dir/tlsh_impl.cpp.o [ 20%] Building CXX object src/CMakeFiles/tlsh_static.dir/input_desc.cpp.o [ 20%] Building CXX object src/CMakeFiles/tlsh_static.dir/tlsh.cpp.o [ 20%] Building CXX object src/CMakeFiles/tlsh_static.dir/tlsh_util.cpp.o cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/src && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 src/CMakeFiles/tlsh_static.dir/tlsh.cpp.o -MF CMakeFiles/tlsh_static.dir/tlsh.cpp.o.d -o CMakeFiles/tlsh_static.dir/tlsh.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/src/tlsh.cpp cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/src && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 src/CMakeFiles/tlsh_static.dir/tlsh_impl.cpp.o -MF CMakeFiles/tlsh_static.dir/tlsh_impl.cpp.o.d -o CMakeFiles/tlsh_static.dir/tlsh_impl.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/src/tlsh_impl.cpp cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/src && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 src/CMakeFiles/tlsh_static.dir/input_desc.cpp.o -MF CMakeFiles/tlsh_static.dir/input_desc.cpp.o.d -o CMakeFiles/tlsh_static.dir/input_desc.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/src/input_desc.cpp cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/src && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 src/CMakeFiles/tlsh_static.dir/tlsh_util.cpp.o -MF CMakeFiles/tlsh_static.dir/tlsh_util.cpp.o.d -o CMakeFiles/tlsh_static.dir/tlsh_util.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/src/tlsh_util.cpp /builddir/build/BUILD/tlsh-4.11.2/src/input_desc.cpp: In function 'int read_file_eval_tlsh_splitline(char*, InputDescr*, int, int, int)': /builddir/build/BUILD/tlsh-4.11.2/src/input_desc.cpp:75:13: warning: unused variable 'ret' [-Wunused-variable] 75 | int ret = 1; | ^~~ [ 25%] Building CXX object src/CMakeFiles/tlsh_static.dir/shared_file_functions.cpp.o cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/src && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 src/CMakeFiles/tlsh_static.dir/shared_file_functions.cpp.o -MF CMakeFiles/tlsh_static.dir/shared_file_functions.cpp.o.d -o CMakeFiles/tlsh_static.dir/shared_file_functions.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/src/shared_file_functions.cpp /builddir/build/BUILD/tlsh-4.11.2/src/input_desc.cpp: In function 'set_input_desc(char*, char*, int, int, char*, char*, int, int, char*, InputDescr*, int)': /builddir/build/BUILD/tlsh-4.11.2/src/input_desc.cpp:377:32: warning: 'strncpy' specified bound 1000 equals destination size [-Wstringop-truncation] 377 | strncpy(buf, fname, sizeof(buf)); | ^ /builddir/build/BUILD/tlsh-4.11.2/src/shared_file_functions.cpp: In function 'const char* convert_special_chars(char*, char*, size_t, int)': /builddir/build/BUILD/tlsh-4.11.2/src/shared_file_functions.cpp:147:32: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 147 | if (bi == bufSize-2) { | ~~~^~~~~~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/src/shared_file_functions.cpp:168:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 168 | if (bi < bufSize) { | ~~~^~~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/src/shared_file_functions.cpp:176:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 176 | if (len >= bufSize) { | ~~~~^~~~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/src/shared_file_functions.cpp: In function 'int count_files_in_dir(char*)': /builddir/build/BUILD/tlsh-4.11.2/src/shared_file_functions.cpp:315:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 315 | if (len < sizeof(tmp_fname) - 2) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/src/shared_file_functions.cpp: In function 'int recursive_read_files_from_dir(char*, char*, FileName*, int, int*)': /builddir/build/BUILD/tlsh-4.11.2/src/shared_file_functions.cpp:363:25: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 363 | if (len < sizeof(tmp_fname) - 2) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/src/tlsh_impl.cpp:124:22: warning: 'v_table48' defined but not used [-Wunused-variable] 124 | static unsigned char v_table48[256] = { | ^~~~~~~~~ [ 30%] Linking CXX static library /builddir/build/BUILD/tlsh-4.11.2/lib/libtlsh.a cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/src && /usr/bin/cmake -P CMakeFiles/tlsh_static.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/tlsh_static.dir/link.txt --verbose=1 /usr/bin/ar qc /builddir/build/BUILD/tlsh-4.11.2/lib/libtlsh.a CMakeFiles/tlsh_static.dir/tlsh.cpp.o CMakeFiles/tlsh_static.dir/tlsh_impl.cpp.o CMakeFiles/tlsh_static.dir/tlsh_util.cpp.o CMakeFiles/tlsh_static.dir/input_desc.cpp.o CMakeFiles/tlsh_static.dir/shared_file_functions.cpp.o /usr/bin/ranlib /builddir/build/BUILD/tlsh-4.11.2/lib/libtlsh.a gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 30%] Built target tlsh_static /usr/bin/gmake -f test/CMakeFiles/simple_unittest.dir/build.make test/CMakeFiles/simple_unittest.dir/depend /usr/bin/gmake -f test/CMakeFiles/tlsh_unittest.dir/build.make test/CMakeFiles/tlsh_unittest.dir/depend /usr/bin/gmake -f test/CMakeFiles/timing_unittest.dir/build.make test/CMakeFiles/timing_unittest.dir/depend /usr/bin/gmake -f test/CMakeFiles/order_bug.dir/build.make test/CMakeFiles/order_bug.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tlsh-4.11.2 /builddir/build/BUILD/tlsh-4.11.2/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test/CMakeFiles/tlsh_unittest.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tlsh-4.11.2 /builddir/build/BUILD/tlsh-4.11.2/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test/CMakeFiles/simple_unittest.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tlsh-4.11.2 /builddir/build/BUILD/tlsh-4.11.2/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test/CMakeFiles/timing_unittest.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tlsh-4.11.2 /builddir/build/BUILD/tlsh-4.11.2/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test/CMakeFiles/order_bug.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' /usr/bin/gmake -f test/CMakeFiles/simple_unittest.dir/build.make test/CMakeFiles/simple_unittest.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' /usr/bin/gmake -f test/CMakeFiles/tlsh_unittest.dir/build.make test/CMakeFiles/tlsh_unittest.dir/build /usr/bin/gmake -f test/CMakeFiles/timing_unittest.dir/build.make test/CMakeFiles/timing_unittest.dir/build /usr/bin/gmake -f test/CMakeFiles/order_bug.dir/build.make test/CMakeFiles/order_bug.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 45%] Building CXX object test/CMakeFiles/timing_unittest.dir/timing_unittest.cpp.o [ 45%] Building CXX object test/CMakeFiles/tlsh_unittest.dir/tlsh_unittest.cpp.o [ 45%] Building CXX object test/CMakeFiles/simple_unittest.dir/simple_unittest.cpp.o cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 test/CMakeFiles/tlsh_unittest.dir/tlsh_unittest.cpp.o -MF CMakeFiles/tlsh_unittest.dir/tlsh_unittest.cpp.o.d -o CMakeFiles/tlsh_unittest.dir/tlsh_unittest.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_unittest.cpp cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 test/CMakeFiles/timing_unittest.dir/timing_unittest.cpp.o -MF CMakeFiles/timing_unittest.dir/timing_unittest.cpp.o.d -o CMakeFiles/timing_unittest.dir/timing_unittest.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/test/timing_unittest.cpp cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 test/CMakeFiles/simple_unittest.dir/simple_unittest.cpp.o -MF CMakeFiles/simple_unittest.dir/simple_unittest.cpp.o.d -o CMakeFiles/simple_unittest.dir/simple_unittest.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/test/simple_unittest.cpp [ 50%] Building CXX object test/CMakeFiles/order_bug.dir/order_bug.cpp.o cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 test/CMakeFiles/order_bug.dir/order_bug.cpp.o -MF CMakeFiles/order_bug.dir/order_bug.cpp.o.d -o CMakeFiles/order_bug.dir/order_bug.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/test/order_bug.cpp /builddir/build/BUILD/tlsh-4.11.2/test/timing_unittest.cpp: In function 'int main(int, char**)': /builddir/build/BUILD/tlsh-4.11.2/test/timing_unittest.cpp:146:13: warning: unused variable 'showvers' [-Wunused-variable] 146 | int showvers = 1; | ^~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_unittest.cpp: In function 'void trendLSH_ut(char*, char*, char*, char*, int, int, char*, char*, int, bool, int, int, int, int, int, int, char*, int)': /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_unittest.cpp:227:61: warning: unused variable 'tlsh_str' [-Wunused-variable] 227 | const char *tlsh_str = th->getHash(showvers); | ^~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/test/simple_unittest.cpp: In function 'main': /builddir/build/BUILD/tlsh-4.11.2/test/simple_unittest.cpp:89:16: warning: 'strncpy' output truncated before terminating nul copying 66 bytes from a string of the same length [-Wstringop-truncation] 89 | strncpy(minSizeBuffer1, str1, len1); | ^ /builddir/build/BUILD/tlsh-4.11.2/test/simple_unittest.cpp:97:16: warning: 'strncpy' output truncated before terminating nul copying 67 bytes from a string of the same length [-Wstringop-truncation] 97 | strncpy(minSizeBuffer2, str2, len2); | ^ [ 55%] Linking CXX executable /builddir/build/BUILD/tlsh-4.11.2/bin/order_bug cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/order_bug.dir/link.txt --verbose=1 /usr/bin/g++ -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 -static-libgcc -rdynamic CMakeFiles/order_bug.dir/order_bug.cpp.o -o /builddir/build/BUILD/tlsh-4.11.2/bin/order_bug /builddir/build/BUILD/tlsh-4.11.2/lib/libtlsh.a [ 60%] Linking CXX executable /builddir/build/BUILD/tlsh-4.11.2/bin/simple_unittest cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/simple_unittest.dir/link.txt --verbose=1 [ 65%] Linking CXX executable /builddir/build/BUILD/tlsh-4.11.2/bin/timing_unittest cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/timing_unittest.dir/link.txt --verbose=1 /usr/bin/g++ -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 -static-libgcc -rdynamic CMakeFiles/simple_unittest.dir/simple_unittest.cpp.o -o /builddir/build/BUILD/tlsh-4.11.2/bin/simple_unittest /builddir/build/BUILD/tlsh-4.11.2/lib/libtlsh.a /usr/bin/g++ -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 -static-libgcc -rdynamic CMakeFiles/timing_unittest.dir/timing_unittest.cpp.o -o /builddir/build/BUILD/tlsh-4.11.2/bin/timing_unittest /builddir/build/BUILD/tlsh-4.11.2/lib/libtlsh.a /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_unittest.cpp:189:109: warning: 'ti_fname' may be used uninitialized [-Wmaybe-uninitialized] 189 | const char *con_buf1 = convert_special_chars(ti_fname, buf1, sizeof(buf1), output_json); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_unittest.cpp:164:31: note: 'ti_fname' was declared here 164 | char *ti_fname; | ^~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_unittest.cpp:190:109: warning: 'xi_fname' may be used uninitialized [-Wmaybe-uninitialized] 190 | const char *con_buf2 = convert_special_chars(xi_fname, buf2, sizeof(buf2), output_json); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_unittest.cpp:175:47: note: 'xi_fname' was declared here 175 | char *xi_fname; | ^~~~~~~~ [ 70%] Linking CXX executable /builddir/build/BUILD/tlsh-4.11.2/bin/tlsh_unittest cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tlsh_unittest.dir/link.txt --verbose=1 /usr/bin/g++ -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 -static-libgcc -rdynamic CMakeFiles/tlsh_unittest.dir/tlsh_unittest.cpp.o -o /builddir/build/BUILD/tlsh-4.11.2/bin/tlsh_unittest /builddir/build/BUILD/tlsh-4.11.2/lib/libtlsh.a gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 70%] Built target order_bug /usr/bin/gmake -f test/CMakeFiles/tlsh_pattern.dir/build.make test/CMakeFiles/tlsh_pattern.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tlsh-4.11.2 /builddir/build/BUILD/tlsh-4.11.2/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test/CMakeFiles/tlsh_pattern.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' /usr/bin/gmake -f test/CMakeFiles/tlsh_pattern.dir/build.make test/CMakeFiles/tlsh_pattern.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 75%] Building CXX object test/CMakeFiles/tlsh_pattern.dir/tlsh_pattern.cpp.o cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 test/CMakeFiles/tlsh_pattern.dir/tlsh_pattern.cpp.o -MF CMakeFiles/tlsh_pattern.dir/tlsh_pattern.cpp.o.d -o CMakeFiles/tlsh_pattern.dir/tlsh_pattern.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_pattern.cpp gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 75%] Built target simple_unittest /usr/bin/gmake -f test/CMakeFiles/tlsh_parts.dir/build.make test/CMakeFiles/tlsh_parts.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tlsh-4.11.2 /builddir/build/BUILD/tlsh-4.11.2/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test/CMakeFiles/tlsh_parts.dir/DependInfo.cmake --color= /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_pattern.cpp: In member function 'int pattern_tlsh::match_pattern(Tlsh*, bool, char*, int)': /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_pattern.cpp:152:23: warning: unused variable 'tp' [-Wunused-variable] 152 | Tlsh *tp = tlsh_array[best_ti]; | ^~ /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_pattern.cpp:156:23: warning: unused variable 'tp' [-Wunused-variable] 156 | Tlsh *tp = tlsh_array[miss_best_ti]; | ^~ /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_pattern.cpp: In function 'void tlsh_pattern(char*, char*, int, int, char*, char*, bool, int, char*, int, int)': /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_pattern.cpp:337:29: warning: unused variable 'nmatch' [-Wunused-variable] 337 | int nmatch = pat.match_pattern(tlsh, xlen, ti_fname, showmiss); | ^~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' /usr/bin/gmake -f test/CMakeFiles/tlsh_parts.dir/build.make test/CMakeFiles/tlsh_parts.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 80%] Building CXX object test/CMakeFiles/tlsh_parts.dir/tlsh_parts.cpp.o cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 test/CMakeFiles/tlsh_parts.dir/tlsh_parts.cpp.o -MF CMakeFiles/tlsh_parts.dir/tlsh_parts.cpp.o.d -o CMakeFiles/tlsh_parts.dir/tlsh_parts.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/test/tlsh_parts.cpp gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 80%] Built target timing_unittest /usr/bin/gmake -f utils/CMakeFiles/rand_tags.dir/build.make utils/CMakeFiles/rand_tags.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/tlsh-4.11.2 /builddir/build/BUILD/tlsh-4.11.2/utils /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/utils /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/utils/CMakeFiles/rand_tags.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' /usr/bin/gmake -f utils/CMakeFiles/rand_tags.dir/build.make utils/CMakeFiles/rand_tags.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 85%] Building CXX object utils/CMakeFiles/rand_tags.dir/rand_tags.cpp.o cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/utils && /usr/bin/g++ -DBUCKETS_128 -I/builddir/build/BUILD/tlsh-4.11.2/include -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 utils/CMakeFiles/rand_tags.dir/rand_tags.cpp.o -MF CMakeFiles/rand_tags.dir/rand_tags.cpp.o.d -o CMakeFiles/rand_tags.dir/rand_tags.cpp.o -c /builddir/build/BUILD/tlsh-4.11.2/utils/rand_tags.cpp [ 90%] Linking CXX executable /builddir/build/BUILD/tlsh-4.11.2/bin/tlsh_parts cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tlsh_parts.dir/link.txt --verbose=1 /usr/bin/g++ -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 -static-libgcc -rdynamic CMakeFiles/tlsh_parts.dir/tlsh_parts.cpp.o -o /builddir/build/BUILD/tlsh-4.11.2/bin/tlsh_parts /builddir/build/BUILD/tlsh-4.11.2/lib/libtlsh.a [ 95%] Linking CXX executable /builddir/build/BUILD/tlsh-4.11.2/bin/tlsh_pattern cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/tlsh_pattern.dir/link.txt --verbose=1 /usr/bin/g++ -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 -static-libgcc -rdynamic CMakeFiles/tlsh_pattern.dir/tlsh_pattern.cpp.o -o /builddir/build/BUILD/tlsh-4.11.2/bin/tlsh_pattern /builddir/build/BUILD/tlsh-4.11.2/lib/libtlsh.a In function 'html_tags(std::__cxx11::basic_string, std::allocator >&, bool)', inlined from 'html(unsigned int, bool, char*)' at /builddir/build/BUILD/tlsh-4.11.2/utils/rand_tags.cpp:214:11: /builddir/build/BUILD/tlsh-4.11.2/utils/rand_tags.cpp:196:23: warning: 'body_tag_str' may be used uninitialized [-Wmaybe-uninitialized] 196 | endtag(htmls, body_tag_str); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/tlsh-4.11.2/utils/rand_tags.cpp: In function 'html(unsigned int, bool, char*)': /builddir/build/BUILD/tlsh-4.11.2/utils/rand_tags.cpp:183:15: note: 'body_tag_str' was declared here 183 | char *body_tag_str; | ^~~~~~~~~~~~ [100%] Linking CXX executable /builddir/build/BUILD/tlsh-4.11.2/bin/rand_tags cd /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/utils && /usr/bin/cmake -E cmake_link_script CMakeFiles/rand_tags.dir/link.txt --verbose=1 gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' /usr/bin/g++ -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 -static-libgcc -rdynamic CMakeFiles/rand_tags.dir/rand_tags.cpp.o -o /builddir/build/BUILD/tlsh-4.11.2/bin/rand_tags /builddir/build/BUILD/tlsh-4.11.2/lib/libtlsh.a [100%] Built target tlsh_unittest gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [100%] Built target tlsh_parts gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [100%] Built target tlsh_pattern gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [100%] Built target rand_tags gmake[1]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build/CMakeFiles 0 + pushd py_ext ~/build/BUILD/tlsh-4.11.2/py_ext ~/build/BUILD/tlsh-4.11.2 + 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 ' + 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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /builddir/build/BUILD/tlsh-4.11.2/py_ext/setup.py:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running build running build_ext building 'tlsh' extension creating build creating build/temp.linux-riscv64-3.11 creating build/temp.linux-riscv64-3.11/builddir creating build/temp.linux-riscv64-3.11/builddir/build creating build/temp.linux-riscv64-3.11/builddir/build/BUILD creating build/temp.linux-riscv64-3.11/builddir/build/BUILD/tlsh-4.11.2 creating build/temp.linux-riscv64-3.11/builddir/build/BUILD/tlsh-4.11.2/src gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -I/builddir/build/BUILD/tlsh-4.11.2/include -I/usr/include/python3.11 -c /builddir/build/BUILD/tlsh-4.11.2/src/tlsh.cpp -o build/temp.linux-riscv64-3.11/builddir/build/BUILD/tlsh-4.11.2/src/tlsh.o -DBUCKETS_128 gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -I/builddir/build/BUILD/tlsh-4.11.2/include -I/usr/include/python3.11 -c /builddir/build/BUILD/tlsh-4.11.2/src/tlsh_impl.cpp -o build/temp.linux-riscv64-3.11/builddir/build/BUILD/tlsh-4.11.2/src/tlsh_impl.o -DBUCKETS_128 /builddir/build/BUILD/tlsh-4.11.2/src/tlsh_impl.cpp:124:22: warning: ‘v_table48’ defined but not used [-Wunused-variable] 124 | static unsigned char v_table48[256] = { | ^~~~~~~~~ gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -I/builddir/build/BUILD/tlsh-4.11.2/include -I/usr/include/python3.11 -c /builddir/build/BUILD/tlsh-4.11.2/src/tlsh_util.cpp -o build/temp.linux-riscv64-3.11/builddir/build/BUILD/tlsh-4.11.2/src/tlsh_util.o -DBUCKETS_128 gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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 -I/builddir/build/BUILD/tlsh-4.11.2/include -I/usr/include/python3.11 -c tlshmodule.cpp -o build/temp.linux-riscv64-3.11/tlshmodule.o -DBUCKETS_128 creating build/lib.linux-riscv64-3.11 g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 build/temp.linux-riscv64-3.11/builddir/build/BUILD/tlsh-4.11.2/src/tlsh.o build/temp.linux-riscv64-3.11/builddir/build/BUILD/tlsh-4.11.2/src/tlsh_impl.o build/temp.linux-riscv64-3.11/builddir/build/BUILD/tlsh-4.11.2/src/tlsh_util.o build/temp.linux-riscv64-3.11/tlshmodule.o -L/usr/lib64 -o build/lib.linux-riscv64-3.11/tlsh.cpython-311-riscv64-linux-gnu.so ~/build/BUILD/tlsh-4.11.2 + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xlzMFN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64 + 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 tlsh-4.11.2 ~/build/BUILD/tlsh-4.11.2/py_ext ~/build/BUILD/tlsh-4.11.2 + pushd py_ext + 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 ' + 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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64 --prefix /usr /builddir/build/BUILD/tlsh-4.11.2/py_ext/setup.py:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running install running install_lib creating /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr creating /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/lib64/python3.11/site-packages copying build/lib.linux-riscv64-3.11/tlsh.cpython-311-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/lib64/python3.11/site-packages running install_egg_info Writing /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/lib64/python3.11/site-packages/tlsh-4.5.0-py3.11.egg-info + rm -rfv /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/bin/__pycache__ + popd ~/build/BUILD/tlsh-4.11.2 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 4.11.2-5.fc38 --unique-debug-suffix -4.11.2-5.fc38.riscv64 --unique-debug-src-base tlsh-4.11.2-5.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tlsh-4.11.2 extracting debug info from /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/lib64/python3.11/site-packages/tlsh.cpython-311-riscv64-linux-gnu.so original debug info size: 368kB, size after compression: 364kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 595 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.D43ZD6 + 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 str1 = 'This is a test for Lili Diao. This is a string. Hello Hello Hello OPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQ' str2 = 'This is a test for Jon Oliver. This is a string. Hello Hello Hello PQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHI' hash1 = T109F05A198CC69A5A4F0F9380A9EE93F2B927CF42089EA74276DC5F0BB2D34E68114448 hash2 = T1301124198C869A5A4F0F9380A9AE92F2B9278F42089EA34272885F0FB2D34E6911444C difference (same strings) = 0 difference (with len) = 121 difference (without len) = 97 Testing Tlsh with multiple update calls hash3 = T109F05A198CC69A5A4F0F9380A9EE93F2B927CF42089EA74276DC5F0BB2D34E68114448 hash4 = T1301124198C869A5A4F0F9380A9AE92F2B9278F42089EA34272885F0FB2D34E6911444C Testing Tlsh.fromTlshStr() Recreating tlsh3 from T109F05A198CC69A5A4F0F9380A9EE93F2B927CF42089EA74276DC5F0BB2D34E68114448 hash3 = T109F05A198CC69A5A4F0F9380A9EE93F2B927CF42089EA74276DC5F0BB2D34E68114448 Recreating tlsh4 from T1301124198C869A5A4F0F9380A9AE92F2B9278F42089EA34272885F0FB2D34E6911444C hash4 = T1301124198C869A5A4F0F9380A9AE92F2B9278F42089EA34272885F0FB2D34E6911444C difference (same strings) = 0 difference (with len) = 121 difference (without len) = 97 + cd tlsh-4.11.2 + bin/simple_unittest + bin/timing_unittest build a buffer with a million bytes... Test 1: Evaluate TLSH digest eval TLSH WARM UP (4.11.2 compact hash 1 byte checksum sliding_window=5) 500 times... TLSH(buffer) = T1A12500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008 BEFORE ms=1679662668356 AFTER ms=1679662697391 TIME ms=29035 TIME ms= 58.07 per iteration eval TLSH DEFAULT (4.11.2 compact hash 1 byte checksum sliding_window=5) 500 times... TLSH(buffer) = T1A12500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008 BEFORE ms=1679662697391 AFTER ms=1679662726376 TIME ms=28985 TIME ms= 57.97 per iteration eval TLSH THREADED (4.11.2 compact hash 1 byte checksum sliding_window=5) 500 times... TLSH(buffer) = T1002500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008 BEFORE ms=1679662726376 AFTER ms=1679662755376 TIME ms=29000 TIME ms= 58.00 per iteration eval TLSH PRIVATE (4.11.2 compact hash 1 byte checksum sliding_window=5) 500 times... TLSH(buffer) = T1002500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008 BEFORE ms=1679662755376 AFTER ms=1679662781879 TIME ms=26503 TIME ms= 53.01 per iteration eval TLSH distance 50 million times... Test 2: Calc distance TLSH digest dist=138 BEFORE ms=1679662782015 AFTER ms=1679662782015 TIME ms=0 TIME ms= 0.00 per million iterations + bin/tlsh_unittest -c bin/tlsh_unittest -f bin/tlsh_unittest + grep -E '\b0\b' 0 bin/tlsh_unittest + bin/tlsh_unittest -c bin/tlsh_unittest -f bin/simple_unittest + grep -vE '\b0\b' 203 bin/simple_unittest + PYTHONPATH=/builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/lib64/python3.11/site-packages + /usr/bin/python3 -c 'import tlsh; print(tlsh.hash(open('\''LICENSE'\'', '\''rb'\'').read()))' T1DF62956FB648037707C20262AB8764CAF21E903F3B562914345CD1681F6FB6993FB6D9 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: tlsh-doc-4.11.2-5.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KOSq1F + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + DOCDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/doc/tlsh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/doc/tlsh + cp -pr README.md /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/doc/tlsh + cp -pr TLSH_CTC_final.pdf /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/doc/tlsh + cp -pr TLSH_Introduction.pdf /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/doc/tlsh + cp -pr Attacking_LSH_and_Sim_Dig.pdf /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/doc/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dcPKmE + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/licenses/tlsh + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/licenses/tlsh + cp -pr LICENSE /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/licenses/tlsh + cp -pr NOTICE.txt /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/licenses/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Provides: tlsh-doc = 4.11.2-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-tlsh-4.11.2-5.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ywbRiJ + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + DOCDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/doc/tlsh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/doc/tlsh + cp -pr README.md /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/doc/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5kN7hN + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/licenses/tlsh + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/licenses/tlsh + cp -pr LICENSE /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/licenses/tlsh + cp -pr NOTICE.txt /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64/usr/share/licenses/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-tlsh = 4.11.2-5.fc38 python3-tlsh = 4.11.2-5.fc38 python3-tlsh(riscv-64) = 4.11.2-5.fc38 python3.11-tlsh = 4.11.2-5.fc38 python3.11dist(tlsh) = 4.5 python3dist(tlsh) = 4.5 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python-tlsh < 4.11.2-5.fc38 tlsh < 3.17.0 tlsh-devel < 3.17.0 Processing files: tlsh-debugsource-4.11.2-5.fc38.riscv64 Provides: tlsh-debugsource = 4.11.2-5.fc38 tlsh-debugsource(riscv-64) = 4.11.2-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-tlsh-debuginfo-4.11.2-5.fc38.riscv64 Provides: debuginfo(build-id) = 697a7171305b36534372b599896e158b29a42793 python-tlsh-debuginfo = 4.11.2-5.fc38 python3-tlsh-debuginfo = 4.11.2-5.fc38 python3-tlsh-debuginfo(riscv-64) = 4.11.2-5.fc38 python3.11-tlsh-debuginfo = 4.11.2-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tlsh-debugsource(riscv-64) = 4.11.2-5.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64 Wrote: /builddir/build/RPMS/python3-tlsh-debuginfo-4.11.2-5.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/python3-tlsh-4.11.2-5.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/tlsh-doc-4.11.2-5.fc38.noarch.rpm Wrote: /builddir/build/RPMS/tlsh-debugsource-4.11.2-5.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oo8mQM + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tlsh-4.11.2-5.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.QEMRhi + umask 022 + cd /builddir/build/BUILD + rm -rf tlsh-4.11.2 tlsh-4.11.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0