<86>Mar 14 10:44:36 userdel[658141]: delete user 'rooter' <86>Mar 14 10:44:36 userdel[658141]: removed group 'rooter' owned by 'rooter' <86>Mar 14 10:44:36 userdel[658141]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 14 10:44:36 groupadd[658146]: group added to /etc/group: name=rooter, GID=642 <86>Mar 14 10:44:36 groupadd[658146]: group added to /etc/gshadow: name=rooter <86>Mar 14 10:44:36 groupadd[658146]: new group: name=rooter, GID=642 <86>Mar 14 10:44:36 useradd[658150]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash <86>Mar 14 10:44:36 userdel[658156]: delete user 'builder' <86>Mar 14 10:44:36 userdel[658156]: removed group 'builder' owned by 'builder' <86>Mar 14 10:44:36 userdel[658156]: removed shadow group 'builder' owned by 'builder' <86>Mar 14 10:44:36 groupadd[658161]: group added to /etc/group: name=builder, GID=643 <86>Mar 14 10:44:36 groupadd[658161]: group added to /etc/gshadow: name=builder <86>Mar 14 10:44:36 groupadd[658161]: new group: name=builder, GID=643 <86>Mar 14 10:44:36 useradd[658165]: new user: name=builder, UID=643, GID=643, 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>Mar 14 10:44:41 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Mar 14 10:44:41 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Mar 14 10:44:41 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696281 installed <13>Mar 14 10:44:41 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Mar 14 10:44:41 rpmi: libe2fs-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Mar 14 10:44:41 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Mar 14 10:44:42 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Mar 14 10:44:43 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587912 installed <13>Mar 14 10:44:43 rpmi: rpm-macros-cmake-3.16.3-alt1 p9+245760.100.3.1 1582902678 installed <13>Mar 14 10:44:43 rpmi: rmt-0.4b44-alt2 p9+258359.100.2.1 1601048375 installed <13>Mar 14 10:44:43 rpmi: dump-0.4b44-alt2 p9+258359.100.2.1 1601048375 installed <13>Mar 14 10:44:43 rpmi: cmake-modules-3.16.3-alt1 p9+245760.100.3.1 1582902649 installed <13>Mar 14 10:44:43 rpmi: libuv-1.40.0-alt1 p9+260562.40.2.1 1604013257 installed <13>Mar 14 10:44:43 rpmi: librhash-1.3.5-alt2 1505156279 installed <13>Mar 14 10:44:43 rpmi: libjsoncpp19-1.8.4-alt2.S1 1518769525 installed <13>Mar 14 10:44:43 rpmi: publicsuffix-list-dafsa-20210121-alt1 p9+265130.100.3.1 1611941989 installed <13>Mar 14 10:44:43 rpmi: libpsl-0.21.1-alt1 p9+255207.100.1.1 1595355048 installed <13>Mar 14 10:44:43 rpmi: libnghttp2-1.41.0-alt1 p9+256449.100.1.1 1597829547 installed <13>Mar 14 10:44:43 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Mar 14 10:44:43 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Mar 14 10:44:43 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:43 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Mar 14 10:44:43 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Mar 14 10:44:43 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Mar 14 10:44:43 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Mar 14 10:44:43 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Mar 14 10:44:43 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Mar 14 10:44:43 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 14 10:44:43 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 14 10:44:43 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Mar 14 10:44:43 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Mar 14 10:44:43 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Mar 14 10:44:44 rpmi: libcrypto1.1-1.1.1i-alt2 p9+264846.100.1.1 1610982938 installed <13>Mar 14 10:44:44 rpmi: libssl1.1-1.1.1i-alt2 p9+264846.100.1.1 1610982938 installed <13>Mar 14 10:44:44 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Mar 14 10:44:44 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Mar 14 10:44:45 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <86>Mar 14 10:44:45 groupadd[662216]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 14 10:44:45 groupadd[662216]: group added to /etc/gshadow: name=_keytab <86>Mar 14 10:44:45 groupadd[662216]: new group: name=_keytab, GID=499 <13>Mar 14 10:44:45 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <13>Mar 14 10:44:45 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Mar 14 10:44:45 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Mar 14 10:44:45 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:45 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:46 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:46 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <86>Mar 14 10:44:46 groupadd[662616]: group added to /etc/group: name=sasl, GID=498 <86>Mar 14 10:44:46 groupadd[662616]: group added to /etc/gshadow: name=sasl <86>Mar 14 10:44:46 groupadd[662616]: new group: name=sasl, GID=498 <13>Mar 14 10:44:46 rpmi: libsasl2-3-2.1.27-alt2.1 p9+256192.100.1.1 1597226720 installed <13>Mar 14 10:44:46 rpmi: libldap-2.4.57-alt0.M90P.1 p9+266288.100.1.1 1613244862 installed <13>Mar 14 10:44:46 rpmi: libcurl-7.74.0-alt1 p9+264236.100.1.1 1609357272 installed <13>Mar 14 10:44:46 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Mar 14 10:44:46 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Mar 14 10:44:46 rpmi: libarchive13-3.4.3-alt1 p9+258567.100.2.1 1600968903 installed <13>Mar 14 10:44:46 rpmi: cmake-3.16.3-alt1 p9+245760.100.3.1 1582902678 installed <13>Mar 14 10:44:46 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Mar 14 10:44:46 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:46 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 (w1.gzdio) <13>Mar 14 10:44:51 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Mar 14 10:44:51 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Mar 14 10:44:51 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Mar 14 10:44:51 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Mar 14 10:44:51 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.90503 + 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.51470 + 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' [ 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' [ 6%] 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' [ 12%] 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' [ 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' [ 43%] 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' [ 43%] 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' [ 18%] 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' 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 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 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 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' [ 50%] Linking CXX shared library ../../lib/libtlsh.so 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' [ 75%] 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' [ 81%] Built target tlsh_version make[1]: Leaving directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' make[1]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 81%] 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' [ 81%] Linking CXX executable ../../bin/simple_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' [ 87%] 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' [ 87%] 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' [ 56%] 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[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.19280 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + 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,gnuconfig) 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.51833 + 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.20sCio 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.YIEP2r 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.72L9Lo 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.20dak4 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.JGmDFG 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.KPnNR2 Processing files: python-module-libtlsh-3.4.5-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.21157 + 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.DLgbqS 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.YqI2qn 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.UYKDdI 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.29111 + 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.86DSut 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.eyxFyN 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.V3m3hO 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.jANbNL find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HBkNZw 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.V4wrnU find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AwatIW 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.rn4ZAx find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ONeojO 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 (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libtlsh-devel-3.4.5-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/python-module-libtlsh-3.4.5-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/python3-module-libtlsh-3.4.5-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libtlsh-debuginfo-3.4.5-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/python-module-libtlsh-debuginfo-3.4.5-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/python3-module-libtlsh-debuginfo-3.4.5-alt1.i586.rpm (w2.lzdio) 27.58user 6.64system 0:47.69elapsed 71%CPU (0avgtext+0avgdata 38552maxresident)k 0inputs+0outputs (0major+883619minor)pagefaults 0swaps 43.08user 14.22system 1:10.50elapsed 81%CPU (0avgtext+0avgdata 115036maxresident)k 0inputs+0outputs (0major+1389686minor)pagefaults 0swaps