<86>May 24 12:23:55 userdel[3210881]: delete user 'rooter' <86>May 24 12:23:55 userdel[3210881]: removed group 'rooter' owned by 'rooter' <86>May 24 12:23:55 userdel[3210881]: removed shadow group 'rooter' owned by 'rooter' <86>May 24 12:23:55 groupadd[3210903]: group added to /etc/group: name=rooter, GID=693 <86>May 24 12:23:55 groupadd[3210903]: group added to /etc/gshadow: name=rooter <86>May 24 12:23:55 groupadd[3210903]: new group: name=rooter, GID=693 <86>May 24 12:23:55 useradd[3210913]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash <86>May 24 12:23:55 userdel[3210921]: delete user 'builder' <86>May 24 12:23:55 userdel[3210921]: removed group 'builder' owned by 'builder' <86>May 24 12:23:55 userdel[3210921]: removed shadow group 'builder' owned by 'builder' <86>May 24 12:23:55 groupadd[3210929]: group added to /etc/group: name=builder, GID=694 <86>May 24 12:23:55 groupadd[3210929]: group added to /etc/gshadow: name=builder <86>May 24 12:23:55 groupadd[3210929]: new group: name=builder, GID=694 <86>May 24 12:23:55 useradd[3210934]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash warning: Macro %cmake not found warning: Macro %cmake_build not found warning: Macro %python3_build not found warning: Macro %python3_install not found warning: Macro %python3_sitelibdir not found <13>May 24 12:23:58 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>May 24 12:23:58 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>May 24 12:23:58 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696281 installed <13>May 24 12:23:58 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>May 24 12:23:58 rpmi: libe2fs-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>May 24 12:23:58 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>May 24 12:23:58 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>May 24 12:23:59 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>May 24 12:23:59 rpmi: rpm-macros-cmake-3.16.3-alt1 p9+245760.100.3.1 1582902678 installed <13>May 24 12:23:59 rpmi: rmt-0.4b44-alt1.1 sisyphus+226687.100.1.1 1554516078 installed <13>May 24 12:23:59 rpmi: dump-0.4b44-alt1.1 sisyphus+226687.100.1.1 1554516078 installed <13>May 24 12:23:59 rpmi: cmake-modules-3.16.3-alt1 p9+245760.100.3.1 1582902649 installed <13>May 24 12:23:59 rpmi: libuv-1.35.0-alt1 p9+249995.340.2.1 1587141242 installed <13>May 24 12:23:59 rpmi: librhash-1.3.5-alt2 1505156279 installed <13>May 24 12:23:59 rpmi: libjsoncpp19-1.8.4-alt2.S1 1518769525 installed <13>May 24 12:23:59 rpmi: publicsuffix-list-dafsa-20200401-alt1 p9+249162.100.3.1 1586187723 installed <13>May 24 12:23:59 rpmi: libpsl-0.21.0-alt1 sisyphus+227314.100.1.2 1555618423 installed <13>May 24 12:23:59 rpmi: libnghttp2-1.34.0-alt1 sisyphus+222625.100.1.1 1550947259 installed <13>May 24 12:23:59 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>May 24 12:23:59 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>May 24 12:23:59 rpmi: libnettle6-3.4.1-alt1 sisyphus+226533.100.2.1 1554512222 installed <13>May 24 12:23:59 rpmi: libarchive13-3.4.0-alt1 p9+240559.100.1.1 1573466474 installed <13>May 24 12:23:59 rpmi: python-modules-curses-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:23:59 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>May 24 12:23:59 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>May 24 12:23:59 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>May 24 12:23:59 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>May 24 12:23:59 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>May 24 12:23:59 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>May 24 12:23:59 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 24 12:23:59 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 24 12:24:00 rpmi: ca-certificates-2020.01.23-alt1 p9+245253.100.3.1 1580749631 installed <13>May 24 12:24:00 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>May 24 12:24:00 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>May 24 12:24:00 rpmi: libcrypto1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175266 installed <13>May 24 12:24:00 rpmi: libssl1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175266 installed <13>May 24 12:24:00 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>May 24 12:24:00 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>May 24 12:24:00 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <86>May 24 12:24:00 groupadd[3218584]: group added to /etc/group: name=_keytab, GID=499 <86>May 24 12:24:00 groupadd[3218584]: group added to /etc/gshadow: name=_keytab <86>May 24 12:24:00 groupadd[3218584]: new group: name=_keytab, GID=499 <13>May 24 12:24:01 rpmi: libkrb5-1.17.1-alt1 p9+242852.100.2.1 1576572639 installed <13>May 24 12:24:01 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>May 24 12:24:01 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>May 24 12:24:01 rpmi: python-modules-compiler-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-email-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-unittest-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-encodings-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-nis-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-xml-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-logging-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: python-modules-distutils-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <86>May 24 12:24:01 groupadd[3219427]: group added to /etc/group: name=sasl, GID=498 <86>May 24 12:24:01 groupadd[3219427]: group added to /etc/gshadow: name=sasl <86>May 24 12:24:01 groupadd[3219427]: new group: name=sasl, GID=498 <13>May 24 12:24:01 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1 1556139863 installed <13>May 24 12:24:01 rpmi: libldap-2.4.48-alt3 p9+238817.100.1.1 1570449122 installed <13>May 24 12:24:01 rpmi: libcurl-7.65.0-alt1 p9+229801.100.1.1 1558513358 installed <13>May 24 12:24:01 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>May 24 12:24:01 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>May 24 12:24:01 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>May 24 12:24:01 rpmi: cmake-3.16.3-alt1 p9+245760.100.3.1 1582902678 installed <13>May 24 12:24:01 rpmi: python-dev-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:01 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libtlsh-3.4.5-alt1.nosrc.rpm <13>May 24 12:24:04 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 24 12:24:04 rpmi: python-tools-2to3-2.7.16-alt1.M90P.1 p9+244933.100.1.1 1579867218 installed <13>May 24 12:24:04 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 24 12:24:04 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>May 24 12:24:04 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Installing libtlsh-3.4.5-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.93244 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libtlsh-3.4.5 + echo 'Source #0 (libtlsh-3.4.5.tar):' Source #0 (libtlsh-3.4.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/libtlsh-3.4.5.tar + cd libtlsh-3.4.5 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (libtlsh-3.4.5-alt.patch):' Patch #1 (libtlsh-3.4.5-alt.patch): + /usr/bin/patch -p1 patching file .gear/rules patching file .gear/tags/df5a0ab731a3a92bcc15755473cbc7fe698cbf85 patching file .gear/tags/list patching file .gear/tlsh.spec patching file py_ext/setup.py + cp -a py_ext py3_ext + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.93244 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libtlsh-3.4.5 + mkdir -p BUILD + __cmake + pushd BUILD ~/RPM/BUILD/libtlsh-3.4.5/BUILD ~/RPM/BUILD/libtlsh-3.4.5 + cmake .. -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib -DLIB_SUFFIX= -- The C compiler identification is GNU 8.4.1 -- The CXX compiler identification is GNU 8.4.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS CMAKE_SKIP_INSTALL_RPATH INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD + popd ~/RPM/BUILD/libtlsh-3.4.5 + make -j8 -C BUILD make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' Scanning dependencies of target tlsh_shared make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' Scanning dependencies of target tlsh make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 12%] Building CXX object src/CMakeFiles/tlsh_shared.dir/tlsh.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 31%] Building CXX object src/CMakeFiles/tlsh.dir/tlsh.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 18%] Building CXX object src/CMakeFiles/tlsh_shared.dir/tlsh_util.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 37%] Building CXX object src/CMakeFiles/tlsh.dir/tlsh_util.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 12%] Building CXX object src/CMakeFiles/tlsh_shared.dir/tlsh_impl.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 25%] Building CXX object src/CMakeFiles/tlsh.dir/tlsh_impl.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 50%] Linking CXX static library ../../lib/libtlsh.a make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 50%] Built target tlsh make[1]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' Scanning dependencies of target tlsh_version make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' Scanning dependencies of target rand_tags make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' Scanning dependencies of target simple_unittest make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 43%] Linking CXX shared library ../../lib/libtlsh.so make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 68%] Built target tlsh_shared make[1]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' Scanning dependencies of target tlsh_unittest make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 56%] Building CXX object test/CMakeFiles/tlsh_version.dir/tlsh_version.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 68%] Building CXX object test/CMakeFiles/simple_unittest.dir/simple_unittest.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 81%] Linking CXX executable ../../bin/tlsh_version make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 87%] Built target tlsh_version make[1]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 75%] Building CXX object test/CMakeFiles/tlsh_unittest.dir/tlsh_unittest.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 87%] Linking CXX executable ../../bin/simple_unittest make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 62%] Building CXX object utils/CMakeFiles/rand_tags.dir/rand_tags.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [100%] Built target simple_unittest make[1]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 93%] Linking CXX executable ../../bin/tlsh_unittest make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [100%] Built target tlsh_unittest make[1]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [100%] Linking CXX executable ../../bin/rand_tags make[2]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [100%] Built target rand_tags make[1]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' + pushd py_ext ~/RPM/BUILD/libtlsh-3.4.5/py_ext ~/RPM/BUILD/libtlsh-3.4.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py build running build running build_ext building 'tlsh' extension creating build creating build/temp.linux-i686-2.7 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -frecord-gcc-switches -Wall -g -O3 -march=i586 -mtune=generic -fwrapv -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/src/RPM/BUILD/libtlsh-3.4.5/include -I/usr/include/python2.7 -c tlshmodule.cpp -o build/temp.linux-i686-2.7/tlshmodule.o In file included from /usr/include/python2.7/Python.h:8, from tlshmodule.cpp:3: /usr/include/python2.7/pyconfig.h:1220: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/c++/8/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/i586-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/new:39, from tlshmodule.cpp:1: /usr/include/features.h:265: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/include/python2.7/Python.h:8, from tlshmodule.cpp:3: /usr/include/python2.7/pyconfig.h:1242: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/c++/8/i586-alt-linux/bits/os_defines.h:39, from /usr/include/c++/8/i586-alt-linux/bits/c++config.h:508, from /usr/include/c++/8/new:39, from tlshmodule.cpp:1: /usr/include/features.h:202: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 tlshmodule.cpp: In function 'int Tlsh_init(PyObject*, PyObject*, PyObject*)': tlshmodule.cpp:177:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'Py_ssize_t' {aka 'int'} [-Wformat=] PyErr_Format(PyExc_TypeError, "Tlsh() takes at most 1 argument (%lu given)", PyTuple_Size(args)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ tlshmodule.cpp: In function 'PyObject* Tlsh_fromTlshStr(tlsh_TlshObject*, PyObject*)': tlshmodule.cpp:206:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'Py_ssize_t' {aka 'int'} [-Wformat=] return PyErr_Format(PyExc_TypeError, "function takes exactly 1 argument (%lu given)", PyTuple_Size(args)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ tlshmodule.cpp: In function 'PyObject* Tlsh_diff(tlsh_TlshObject*, PyObject*)': tlshmodule.cpp:302:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'Py_ssize_t' {aka 'int'} [-Wformat=] return PyErr_Format(PyExc_TypeError, "function takes exactly 1 argument (%lu given)", PyTuple_Size(args)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python2.7/Python.h:83, from tlshmodule.cpp:3: tlshmodule.cpp: In function 'void inittlsh()': /usr/include/python2.7/object.h:769:6: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((PyObject*)(op))->ob_refcnt++) ~^~~~~~~~~~~~~~~~ tlshmodule.cpp:396:9: note: in expansion of macro 'Py_INCREF' Py_INCREF(&tlsh_TlshType); ^~~~~~~~~ creating build/lib.linux-i686-2.7 i586-alt-linux-g++ -pthread -shared -L/usr/lib/nsl -lnsl -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic build/temp.linux-i686-2.7/tlshmodule.o -L../lib -ltlsh -lpython2.7 -o build/lib.linux-i686-2.7/tlsh.so + popd ~/RPM/BUILD/libtlsh-3.4.5 + pushd py3_ext ~/RPM/BUILD/libtlsh-3.4.5/py3_ext ~/RPM/BUILD/libtlsh-3.4.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build running build running build_ext building 'tlsh' extension creating build creating build/temp.linux-i686-3.7 i586-alt-linux-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -pipe -frecord-gcc-switches -Wall -g -O3 -march=i586 -mtune=generic -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -I/usr/src/RPM/BUILD/libtlsh-3.4.5/include -I/usr/include/python3.7m -c tlshmodule.cpp -o build/temp.linux-i686-3.7/tlshmodule.o creating build/lib.linux-i686-3.7 i586-alt-linux-g++ -pthread -shared -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic build/temp.linux-i686-3.7/tlshmodule.o -L../lib -L/usr/lib -ltlsh -lpython3.7m -o build/lib.linux-i686-3.7/tlsh.cpython-37m.so + popd ~/RPM/BUILD/libtlsh-3.4.5 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.66186 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libtlsh-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libtlsh-buildroot + cd libtlsh-3.4.5 + mkdir -p /usr/src/tmp/libtlsh-buildroot/usr/lib /usr/src/tmp/libtlsh-buildroot/usr/include + cp -a lib/libtlsh.so lib/libtlsh.so.0 lib/libtlsh.so.3.4.5 /usr/src/tmp/libtlsh-buildroot/usr/lib/ + cp -a include /usr/src/tmp/libtlsh-buildroot/usr/include/tlsh/ + pushd py_ext ~/RPM/BUILD/libtlsh-3.4.5/py_ext ~/RPM/BUILD/libtlsh-3.4.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/libtlsh-buildroot --force running install running install_lib creating /usr/src/tmp/libtlsh-buildroot/usr/lib/python2.7 creating /usr/src/tmp/libtlsh-buildroot/usr/lib/python2.7/site-packages copying build/lib.linux-i686-2.7/tlsh.so -> /usr/src/tmp/libtlsh-buildroot/usr/lib/python2.7/site-packages running install_egg_info Writing /usr/src/tmp/libtlsh-buildroot/usr/lib/python2.7/site-packages/tlsh-0.2.0-py2.7.egg-info + popd ~/RPM/BUILD/libtlsh-3.4.5 + pushd py3_ext ~/RPM/BUILD/libtlsh-3.4.5/py3_ext ~/RPM/BUILD/libtlsh-3.4.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/libtlsh-buildroot --force running install running install_lib creating /usr/src/tmp/libtlsh-buildroot/usr/lib/python3 creating /usr/src/tmp/libtlsh-buildroot/usr/lib/python3/site-packages copying build/lib.linux-i686-3.7/tlsh.cpython-37m.so -> /usr/src/tmp/libtlsh-buildroot/usr/lib/python3/site-packages running install_egg_info Writing /usr/src/tmp/libtlsh-buildroot/usr/lib/python3/site-packages/tlsh-0.2.0-py3.7.egg-info + popd ~/RPM/BUILD/libtlsh-3.4.5 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libtlsh-buildroot (auto) mode of './usr/lib/python3/site-packages/tlsh.cpython-37m.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/python2.7/site-packages/tlsh.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libtlsh.so.3.4.5' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libtlsh-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/libtlsh-buildroot/ (default) Compressing files in /usr/src/tmp/libtlsh-buildroot (auto) Adjusting library links in /usr/src/tmp/libtlsh-buildroot ./usr/lib: libtlsh.so.0 -> libtlsh.so.3.4.5 Verifying ELF objects in /usr/src/tmp/libtlsh-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .opt-?.pyc files Hardlinking identical .pyc and .pyo files Processing files: libtlsh-3.4.5-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.30307 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libtlsh-3.4.5 + DOCDIR=/usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + export DOCDIR + rm -rf /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + /bin/mkdir -p /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + cp -prL LICENSE NOTICE.txt README.md /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + chmod -R go-w /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + chmod -R a+rX /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + cp -prL TLSH_CTC_final.pdf /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + chmod -R go-w /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + chmod -R a+rX /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + cp -prL TLSH_Introduction.pdf /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + chmod -R go-w /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + chmod -R a+rX /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + cp -prL Attacking_LSH_and_Sim_Dig.pdf /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + chmod -R go-w /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + chmod -R a+rX /usr/src/tmp/libtlsh-buildroot/usr/share/doc/libtlsh-3.4.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5uZSDj find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/libtlsh-buildroot/usr/lib/libtlsh.so.0: 16 symbols, 14 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XcTxxU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libtlsh.so.0 = set:hcSI2ieX8fQ4Z0R9hGID0B7M5khuHCh61 Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.27), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.i6CQtX Creating libtlsh-debuginfo package Processing files: libtlsh-devel-3.4.5-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fkpcns find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hpxmjz find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /usr/lib/libtlsh.so.0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZIdowd Processing files: python-module-libtlsh-3.4.5-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.19296 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libtlsh-3.4.5 + DOCDIR=/usr/src/tmp/libtlsh-buildroot/usr/share/doc/python-module-libtlsh-3.4.5 + export DOCDIR + rm -rf /usr/src/tmp/libtlsh-buildroot/usr/share/doc/python-module-libtlsh-3.4.5 + /bin/mkdir -p /usr/src/tmp/libtlsh-buildroot/usr/share/doc/python-module-libtlsh-3.4.5 + cp -prL LICENSE NOTICE.txt README.md /usr/src/tmp/libtlsh-buildroot/usr/share/doc/python-module-libtlsh-3.4.5 + chmod -R go-w /usr/src/tmp/libtlsh-buildroot/usr/share/doc/python-module-libtlsh-3.4.5 + chmod -R a+rX /usr/src/tmp/libtlsh-buildroot/usr/share/doc/python-module-libtlsh-3.4.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HPCYjQ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mXeZJR find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: python2.7(tlsh) Requires: /usr/lib/python2.7/site-packages, libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libpython2.7.so.1.0 >= set:oj5wcwq2rXKczRR9x8QhZkSSjr8qWd9D0eG4JkiGfM9t4uAeI1gyuT, libstdc++.so.6(CXXABI_1.3), libtlsh.so.0 >= set:hdKKq6Ghi5X9w7SrJp0, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Hdcukg Creating python-module-libtlsh-debuginfo package Processing files: python3-module-libtlsh-3.4.5-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.41121 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libtlsh-3.4.5 + DOCDIR=/usr/src/tmp/libtlsh-buildroot/usr/share/doc/python3-module-libtlsh-3.4.5 + export DOCDIR + rm -rf /usr/src/tmp/libtlsh-buildroot/usr/share/doc/python3-module-libtlsh-3.4.5 + /bin/mkdir -p /usr/src/tmp/libtlsh-buildroot/usr/share/doc/python3-module-libtlsh-3.4.5 + cp -prL LICENSE NOTICE.txt README.md /usr/src/tmp/libtlsh-buildroot/usr/share/doc/python3-module-libtlsh-3.4.5 + chmod -R go-w /usr/src/tmp/libtlsh-buildroot/usr/share/doc/python3-module-libtlsh-3.4.5 + chmod -R a+rX /usr/src/tmp/libtlsh-buildroot/usr/share/doc/python3-module-libtlsh-3.4.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.avPzXn find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.46Bg0X find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: python3(tlsh) Requires: /usr/lib/python3/site-packages, libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libpython3.7m.so.1.0 >= set:oj5wcMoLOQNGtnCNWE7kZASSjr8qWd9D0eG4JkiGfM9t4uAemAHhee8ol1, libstdc++.so.6(CXXABI_1.3), libtlsh.so.0 >= set:hdKKq6Ghi5X9w7SrJp0, python3.7-ABI, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BnfJkY Creating python3-module-libtlsh-debuginfo package Processing files: libtlsh-debuginfo-3.4.5-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.e269Oi find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WTZYQ5 find-requires: running scripts (debuginfo) Provides: debug(libtlsh.so.0) Requires: libtlsh = 3.4.5-alt1, debug(libc.so.6), debug(libgcc_s.so.1), debug(libm.so.6), debug(libstdc++.so.6) Processing files: python-module-libtlsh-debuginfo-3.4.5-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EcUhdm find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Rzg8C1 find-requires: running scripts (debuginfo) Requires: python-module-libtlsh = 3.4.5-alt1, debug(libc.so.6), debug(libgcc_s.so.1), debug(libpython2.7.so.1.0), debug(libstdc++.so.6), debug(libtlsh.so.0) Processing files: python3-module-libtlsh-debuginfo-3.4.5-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pueW22 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nPmAkl find-requires: running scripts (debuginfo) Requires: python3-module-libtlsh = 3.4.5-alt1, debug(libc.so.6), debug(libgcc_s.so.1), debug(libpython3.7m.so.1.0), debug(libstdc++.so.6), debug(libtlsh.so.0) Adding to libtlsh-debuginfo a strict dependency on libtlsh Adding to python-module-libtlsh-debuginfo a strict dependency on python-module-libtlsh Adding to python3-module-libtlsh-debuginfo a strict dependency on python3-module-libtlsh Adding to libtlsh-devel a strict dependency on libtlsh Adding to python-module-libtlsh a strict dependency on libtlsh Adding to python3-module-libtlsh a strict dependency on libtlsh Adding to python-module-libtlsh-debuginfo a strict dependency on libtlsh-debuginfo Adding to python3-module-libtlsh-debuginfo a strict dependency on libtlsh-debuginfo Removing 1 extra deps from libtlsh-devel due to dependency on libtlsh Removing 1 extra deps from python-module-libtlsh due to dependency on libtlsh Removing 1 extra deps from python3-module-libtlsh due to dependency on libtlsh Removing 1 extra deps from python-module-libtlsh-debuginfo due to dependency on libtlsh-debuginfo Removing 1 extra deps from python3-module-libtlsh-debuginfo due to dependency on libtlsh-debuginfo Removing 5 extra deps from python-module-libtlsh due to repentancy on libtlsh Removing 5 extra deps from python3-module-libtlsh due to repentancy on libtlsh Removing 3 extra deps from python-module-libtlsh-debuginfo due to repentancy on libtlsh-debuginfo Removing 3 extra deps from python3-module-libtlsh-debuginfo due to repentancy on libtlsh-debuginfo Wrote: /usr/src/RPM/RPMS/i586/libtlsh-3.4.5-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libtlsh-devel-3.4.5-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-libtlsh-3.4.5-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-libtlsh-3.4.5-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libtlsh-debuginfo-3.4.5-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-libtlsh-debuginfo-3.4.5-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-libtlsh-debuginfo-3.4.5-alt1.i586.rpm 13.52user 2.44system 0:31.72elapsed 50%CPU (0avgtext+0avgdata 38600maxresident)k 0inputs+0outputs (0major+877774minor)pagefaults 0swaps 22.49user 5.46system 0:44.74elapsed 62%CPU (0avgtext+0avgdata 115768maxresident)k 0inputs+0outputs (0major+1377476minor)pagefaults 0swaps