Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/tlsh.spec'], chrootPath='/var/lib/mock/f40-build-792828-138594/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfr77v67:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfr77v67:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'c21891ac57234d7ba712f1d7e0479ff4', '-D', '/var/lib/mock/f40-build-792828-138594/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfr77v67:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Wrote: /builddir/build/SRPMS/tlsh-4.11.2-9.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/tlsh.spec'], chrootPath='/var/lib/mock/f40-build-792828-138594/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfr77v67:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfr77v67:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'd722ffe9a5404510941972ec39d3093d', '-D', '/var/lib/mock/f40-build-792828-138594/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kfr77v67:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706313600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ECW8JT + 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 + rm -rf /builddir/build/BUILD/tlsh-4.11.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/tlsh-4.11.2-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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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.W1ec5f + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 14.0.1 -- The CXX compiler identification is GNU 14.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 (3.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 -j64 --verbose Change Dir: '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j64 /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' [ 15%] Building CXX object src/CMakeFiles/tlsh_static.dir/tlsh_util.cpp.o [ 15%] Building CXX object src/CMakeFiles/tlsh_static.dir/tlsh.cpp.o [ 15%] 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 [ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 ‘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/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/input_desc.cpp: In function ‘int 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: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 1000 equals destination size [-Wstringop-truncation] 377 | strncpy(buf, fname, sizeof(buf)); | ^ /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 /usr/bin/gmake -f test/CMakeFiles/tlsh_pattern.dir/build.make test/CMakeFiles/tlsh_pattern.dir/depend /usr/bin/gmake -f test/CMakeFiles/tlsh_parts.dir/build.make test/CMakeFiles/tlsh_parts.dir/depend /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/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]: 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]: 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]: 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]: 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' 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 /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 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/order_bug.dir/build.make test/CMakeFiles/order_bug.dir/build /usr/bin/gmake -f test/CMakeFiles/tlsh_parts.dir/build.make test/CMakeFiles/tlsh_parts.dir/build /usr/bin/gmake -f test/CMakeFiles/tlsh_pattern.dir/build.make test/CMakeFiles/tlsh_pattern.dir/build 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' 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' 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' [ 40%] Building CXX object test/CMakeFiles/tlsh_unittest.dir/tlsh_unittest.cpp.o [ 40%] Building CXX object test/CMakeFiles/simple_unittest.dir/simple_unittest.cpp.o [ 45%] Building CXX object test/CMakeFiles/timing_unittest.dir/timing_unittest.cpp.o [ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 [ 55%] Building CXX object test/CMakeFiles/tlsh_pattern.dir/tlsh_pattern.cpp.o [ 60%] 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 [ 65%] Building CXX object utils/CMakeFiles/rand_tags.dir/rand_tags.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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 /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_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/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/simple_unittest.cpp: In function ‘int main(int, char**)’: /builddir/build/BUILD/tlsh-4.11.2/test/simple_unittest.cpp:89:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ 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: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ 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_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); | ^~~~~~ [ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 [ 75%] 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 [ 80%] 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 [ 85%] 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 85%] Built target order_bug 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' [ 85%] Built target tlsh_parts [ 85%] Built target simple_unittest gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 85%] Built target timing_unittest [ 90%] 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 [ 95%] 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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' [ 95%] Built target tlsh_pattern gmake[2]: Leaving directory '/builddir/build/BUILD/tlsh-4.11.2/redhat-linux-build' [ 95%] Built target tlsh_unittest In function ‘void html_tags(std::string&, bool)’, inlined from ‘void 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 ‘void 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 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 -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 -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-riscv64-cpython-312 creating build/temp.linux-riscv64-cpython-312/builddir creating build/temp.linux-riscv64-cpython-312/builddir/build creating build/temp.linux-riscv64-cpython-312/builddir/build/BUILD creating build/temp.linux-riscv64-cpython-312/builddir/build/BUILD/tlsh-4.11.2 creating build/temp.linux-riscv64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -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 -fno-omit-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-riscv64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src/tlsh.o -DBUCKETS_128 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -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 -fno-omit-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-riscv64-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 -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -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 -fno-omit-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-riscv64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src/tlsh_util.o -DBUCKETS_128 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O2 -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 -fno-omit-frame-pointer -fPIC -I/builddir/build/BUILD/tlsh-4.11.2/include -I/usr/include/python3.12 -c tlshmodule.cpp -o build/temp.linux-riscv64-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-riscv64-cpython-312 g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -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 -fno-omit-frame-pointer build/temp.linux-riscv64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src/tlsh.o build/temp.linux-riscv64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src/tlsh_impl.o build/temp.linux-riscv64-cpython-312/builddir/build/BUILD/tlsh-4.11.2/src/tlsh_util.o build/temp.linux-riscv64-cpython-312/tlshmodule.o -L/usr/lib64 -o build/lib.linux-riscv64-cpython-312/tlsh.cpython-312-riscv64-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.0giuYA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64 + CFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS ~/build/BUILD/tlsh-4.11.2/py_ext ~/build/BUILD/tlsh-4.11.2 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 + CFLAGS='-O2 -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 -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-9.fc40.riscv64 --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 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-9.fc40.riscv64/usr creating /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/lib64/python3.12 creating /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/lib64/python3.12/site-packages copying build/lib.linux-riscv64-cpython-312/tlsh.cpython-312-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/lib64/python3.12/site-packages writing byte-compilation script '/tmp/tmpdyc_iv26.py' /usr/bin/python3 /tmp/tmpdyc_iv26.py removing /tmp/tmpdyc_iv26.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-9.fc40.riscv64/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-9.fc40.riscv64/usr/bin/__pycache__ + popd ~/build/BUILD/tlsh-4.11.2 + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 4.11.2-9.fc40 --unique-debug-suffix -4.11.2-9.fc40.riscv64 --unique-debug-src-base tlsh-4.11.2-9.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tlsh-4.11.2 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/tlsh-4.11.2-9.fc40.riscv64 595 blocks find-debuginfo: done + /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 -j64 Bytecompiling .py files below /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/lib64/python3.12 using python3.12 Bytecompiling .py files below /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/lib/debug/usr/lib64/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wNVJjB + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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=1710869038673 AFTER ms=1710869049906 TIME ms=11233 TIME ms= 22.47 per iteration eval TLSH DEFAULT (4.11.2 compact hash 1 byte checksum sliding_window=5) 500 times... TLSH(buffer) = T1A12500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008 BEFORE ms=1710869049906 AFTER ms=1710869061002 TIME ms=11096 TIME ms= 22.19 per iteration eval TLSH THREADED (4.11.2 compact hash 1 byte checksum sliding_window=5) 500 times... TLSH(buffer) = T1002500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008 BEFORE ms=1710869061002 AFTER ms=1710869072010 TIME ms=11008 TIME ms= 22.02 per iteration eval TLSH PRIVATE (4.11.2 compact hash 1 byte checksum sliding_window=5) 500 times... TLSH(buffer) = T1002500088C838B0A0F0EC3C0ACAB82F3B8228B0308CFA302338C0F0AE2C24F28000008 BEFORE ms=1710869072010 AFTER ms=1710869081909 TIME ms=9899 TIME ms= 19.80 per iteration eval TLSH distance 50 million times... Test 2: Calc distance TLSH digest dist=138 BEFORE ms=1710869081957 AFTER ms=1710869087997 TIME ms=6040 TIME ms=120.80 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' 219 bin/simple_unittest + PYTHONPATH=/builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/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-9.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KsPxNP + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + DOCDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/doc/tlsh + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/doc/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/README.md /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/doc/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/TLSH_CTC_final.pdf /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/doc/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/TLSH_Introduction.pdf /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/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-9.fc40.riscv64/usr/share/doc/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7C5bRc + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/licenses/tlsh + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/licenses/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/LICENSE /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/licenses/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/NOTICE.txt /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/licenses/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Provides: tlsh-doc = 4.11.2-9.fc40 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-9.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7yVSC4 + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + DOCDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/doc/tlsh + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/doc/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/README.md /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/doc/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0JH9Yl + umask 022 + cd /builddir/build/BUILD + cd tlsh-4.11.2 + LICENSEDIR=/builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/licenses/tlsh + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/licenses/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/LICENSE /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/licenses/tlsh + cp -pr /builddir/build/BUILD/tlsh-4.11.2/NOTICE.txt /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64/usr/share/licenses/tlsh + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-tlsh = 4.11.2-9.fc40 python3-tlsh = 4.11.2-9.fc40 python3-tlsh(riscv-64) = 4.11.2-9.fc40 python3.12-tlsh = 4.11.2-9.fc40 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: 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) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(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-9.fc40 tlsh < 3.17.0 tlsh-devel < 3.17.0 Processing files: tlsh-debugsource-4.11.2-9.fc40.riscv64 Provides: tlsh-debugsource = 4.11.2-9.fc40 tlsh-debugsource(riscv-64) = 4.11.2-9.fc40 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-9.fc40.riscv64 Provides: debuginfo(build-id) = 5e7b3b10d9b050089f27d0caf2e1029cca5b1e99 python-tlsh-debuginfo = 4.11.2-9.fc40 python3-tlsh-debuginfo = 4.11.2-9.fc40 python3-tlsh-debuginfo(riscv-64) = 4.11.2-9.fc40 python3.12-tlsh-debuginfo = 4.11.2-9.fc40 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-9.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tlsh-4.11.2-9.fc40.riscv64 Wrote: /builddir/build/RPMS/python3-tlsh-debuginfo-4.11.2-9.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/tlsh-doc-4.11.2-9.fc40.noarch.rpm Wrote: /builddir/build/RPMS/tlsh-debugsource-4.11.2-9.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/python3-tlsh-4.11.2-9.fc40.riscv64.rpm Child return code was: 0