Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tlsh.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1686154369.956264/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wolohq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wolohq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '40e7b1e5ea1245fd8c53c161c85dedf7', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1686154369.956264/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wolohq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1677024000 Wrote: /builddir/build/SRPMS/tlsh-4.11.2-6.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tlsh.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1686154369.956264/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wolohq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wolohq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c53cfe279a9148b49cc97187072a7c30', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1686154369.956264/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wolohq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1677024000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dC3onI + 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/mkdir -p SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-python-use-setuptools-instead-of-distutils.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-python-drop-pointless-line-continuations.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC")' + tee -a utils/CMakeLists.txt + tee -a src/CMakeLists.txt + tee -a test/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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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.M9abcJ + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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.1.1 -- The CXX compiler identification is GNU 13.1.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 (0.7s) -- Generating done (0.0s) 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 -j2 --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' [ 5%] Building CXX object src/CMakeFiles/tlsh_static.dir/tlsh_impl.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 [ 10%] Building CXX object src/CMakeFiles/tlsh_static.dir/tlsh.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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 [ 15%] 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 [ 20%] Building CXX object src/CMakeFiles/tlsh_static.dir/input_desc.cpp.o /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] = { | ^~~~~~~~~ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 /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; | ^~~ /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)); | ^ [ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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/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) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ [ 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 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/tlsh_unittest.dir/DependInfo.cmake --color= 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]: Entering 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/tlsh_unittest.dir/build.make test/CMakeFiles/tlsh_unittest.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 35%] 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 [ 40%] Building CXX object test/CMakeFiles/tlsh_unittest.dir/tlsh_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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 /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); | ^ /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); | ^~~~~~~~ [ 45%] 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 /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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 /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; | ^~~~~~~~ [ 50%] 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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' [ 50%] Built target simple_unittest /usr/bin/gmake -f test/CMakeFiles/timing_unittest.dir/build.make test/CMakeFiles/timing_unittest.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/timing_unittest.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' /usr/bin/gmake -f test/CMakeFiles/timing_unittest.dir/build.make test/CMakeFiles/timing_unittest.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 55%] Building CXX object test/CMakeFiles/timing_unittest.dir/timing_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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 /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; | ^~~~~~~~ [ 60%] 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 60%] Built target tlsh_unittest /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/order_bug.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-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' [ 65%] 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 [ 70%] 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 70%] Built target timing_unittest /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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 /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); | ^~~~~~ [ 80%] 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 80%] Built target order_bug /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= 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' [ 85%] 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 [ 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 90%] Built target tlsh_parts /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' [ 95%] 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 95%] Built target tlsh_pattern 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 /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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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' running build running build_ext building 'tlsh' extension creating build creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/builddir creating build/temp.linux-x86_64-cpython-312/builddir/build creating build/temp.linux-x86_64-cpython-312/builddir/build/BUILD creating build/temp.linux-x86_64-cpython-312/builddir/build/BUILD/tlsh-4.11.2 creating build/temp.linux-x86_64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I/builddir/build/BUILD/tlsh-4.11.2/include -I/usr/include/python3.12 -c /builddir/build/BUILD/tlsh-4.11.2/src/tlsh.cpp -o build/temp.linux-x86_64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src/tlsh.o -DBUCKETS_128 gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I/builddir/build/BUILD/tlsh-4.11.2/include -I/usr/include/python3.12 -c /builddir/build/BUILD/tlsh-4.11.2/src/tlsh_impl.cpp -o build/temp.linux-x86_64-cpython-312/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 -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I/builddir/build/BUILD/tlsh-4.11.2/include -I/usr/include/python3.12 -c /builddir/build/BUILD/tlsh-4.11.2/src/tlsh_util.cpp -o build/temp.linux-x86_64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src/tlsh_util.o -DBUCKETS_128 gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I/builddir/build/BUILD/tlsh-4.11.2/include -I/usr/include/python3.12 -c tlshmodule.cpp -o build/temp.linux-x86_64-cpython-312/tlshmodule.o -DBUCKETS_128 tlshmodule.cpp:330:1: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null] 330 | }; | ^ creating build/lib.linux-x86_64-cpython-312 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer build/temp.linux-x86_64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src/tlsh.o build/temp.linux-x86_64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src/tlsh_impl.o build/temp.linux-x86_64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src/tlsh_util.o build/temp.linux-x86_64-cpython-312/tlshmodule.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-312/tlsh.cpython-312-x86_64-linux-gnu.so + popd ~/build/BUILD/tlsh-4.11.2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.53c9Un + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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-6.fc39.x86_64 --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr creating /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/lib64/python3.12 creating /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/lib64/python3.12/site-packages copying build/lib.linux-x86_64-cpython-312/tlsh.cpython-312-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/lib64/python3.12/site-packages writing byte-compilation script '/tmp/tmpvqwvjxuf.py' /usr/bin/python3 /tmp/tmpvqwvjxuf.py removing /tmp/tmpvqwvjxuf.py running install_egg_info running egg_info creating tlsh.egg-info writing tlsh.egg-info/PKG-INFO writing dependency_links to tlsh.egg-info/dependency_links.txt writing top-level names to tlsh.egg-info/top_level.txt writing manifest file 'tlsh.egg-info/SOURCES.txt' reading manifest file 'tlsh.egg-info/SOURCES.txt' writing manifest file 'tlsh.egg-info/SOURCES.txt' Copying tlsh.egg-info to /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/lib64/python3.12/site-packages/tlsh-4.5.0-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/bin/__pycache__ + popd ~/build/BUILD/tlsh-4.11.2 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 4.11.2-6.fc39 --unique-debug-suffix -4.11.2-6.fc39.x86_64 --unique-debug-src-base tlsh-4.11.2-6.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/tlsh-4.11.2 extracting debug info from /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/lib64/python3.12/site-packages/tlsh.cpython-312-x86_64-linux-gnu.so /usr/bin/gdb.minimal original debug info size: 120kB, size after compression: 112kB /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 -j2 Bytecompiling .py files below /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/lib/debug/usr/lib64/python3.12 using python3.12 Bytecompiling .py files below /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/lib64/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GlclP0 + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 + bin/simple_unittest 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 + 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=1686154417877 AFTER ms=1686154421679 TIME ms=3802 TIME ms= 7.60 per iteration eval TLSH DEFAULT (4.11.2 compact hash 1 byte checksum sliding_window=5) 500 times... TLSH(buffer) = T1A12500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008 BEFORE ms=1686154421679 AFTER ms=1686154425503 TIME ms=3824 TIME ms= 7.65 per iteration eval TLSH THREADED (4.11.2 compact hash 1 byte checksum sliding_window=5) 500 times... TLSH(buffer) = T1002500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008 BEFORE ms=1686154425503 AFTER ms=1686154429374 TIME ms=3871 TIME ms= 7.74 per iteration eval TLSH PRIVATE (4.11.2 compact hash 1 byte checksum sliding_window=5) 500 times... TLSH(buffer) = T1002500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008 BEFORE ms=1686154429374 AFTER ms=1686154432816 TIME ms=3442 TIME ms= 6.88 per iteration eval TLSH distance 50 million times... Test 2: Calc distance TLSH digest dist=138 BEFORE ms=1686154432834 AFTER ms=1686154432834 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' 141 bin/simple_unittest + PYTHONPATH=/builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/lib64/python3.12/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-6.fc39.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hFNVp2 + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + DOCDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/doc/tlsh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/doc/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/README.md /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/doc/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/TLSH_CTC_final.pdf /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/doc/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/TLSH_Introduction.pdf /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/doc/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/Attacking_LSH_and_Sim_Dig.pdf /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/doc/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.M6sUYc + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/licenses/tlsh + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/licenses/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/LICENSE /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/licenses/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/NOTICE.txt /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/licenses/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Provides: tlsh-doc = 4.11.2-6.fc39 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-6.fc39.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3I7U7Z + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + DOCDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/doc/tlsh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/doc/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/README.md /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/doc/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kZZxIF + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/licenses/tlsh + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/licenses/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/LICENSE /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/licenses/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/NOTICE.txt /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64/usr/share/licenses/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-tlsh = 4.11.2-6.fc39 python3-tlsh = 4.11.2-6.fc39 python3-tlsh(x86-64) = 4.11.2-6.fc39 python3.12-tlsh = 4.11.2-6.fc39 python3.12dist(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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(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.12 rtld(GNU_HASH) Obsoletes: python-tlsh < 4.11.2-6.fc39 tlsh < 3.17.0 tlsh-devel < 3.17.0 Processing files: tlsh-debugsource-4.11.2-6.fc39.x86_64 Provides: tlsh-debugsource = 4.11.2-6.fc39 tlsh-debugsource(x86-64) = 4.11.2-6.fc39 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-6.fc39.x86_64 Provides: debuginfo(build-id) = 73ed9180672032065fe07c9197da8166e908de5d python-tlsh-debuginfo = 4.11.2-6.fc39 python3-tlsh-debuginfo = 4.11.2-6.fc39 python3-tlsh-debuginfo(x86-64) = 4.11.2-6.fc39 python3.12-tlsh-debuginfo = 4.11.2-6.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tlsh-debugsource(x86-64) = 4.11.2-6.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64 Wrote: /builddir/build/RPMS/tlsh-debugsource-4.11.2-6.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/tlsh-doc-4.11.2-6.fc39.noarch.rpm Wrote: /builddir/build/RPMS/python3-tlsh-4.11.2-6.fc39.x86_64.rpm Wrote: /builddir/build/RPMS/python3-tlsh-debuginfo-4.11.2-6.fc39.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.29S4Y7 + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tlsh-4.11.2-6.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.VyOgTv + 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