<86>Sep 26 12:23:08 userdel[79896]: delete user 'rooter' <86>Sep 26 12:23:08 userdel[79896]: removed group 'rooter' owned by 'rooter' <86>Sep 26 12:23:08 groupadd[79904]: group added to /etc/group: name=rooter, GID=645 <86>Sep 26 12:23:08 groupadd[79904]: group added to /etc/gshadow: name=rooter <86>Sep 26 12:23:08 groupadd[79904]: new group: name=rooter, GID=645 <86>Sep 26 12:23:08 useradd[79910]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Sep 26 12:23:08 userdel[79919]: delete user 'builder' <86>Sep 26 12:23:08 userdel[79919]: removed group 'builder' owned by 'builder' <86>Sep 26 12:23:08 userdel[79919]: removed shadow group 'builder' owned by 'builder' <86>Sep 26 12:23:08 groupadd[79925]: group added to /etc/group: name=builder, GID=646 <86>Sep 26 12:23:08 groupadd[79925]: group added to /etc/gshadow: name=builder <86>Sep 26 12:23:08 groupadd[79925]: new group: name=builder, GID=646 <86>Sep 26 12:23:08 useradd[79930]: new user: name=builder, UID=646, GID=646, 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>Sep 26 12:23:12 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Sep 26 12:23:12 rpmi: libidn2-2.2.0-alt1 sisyphus+229970.100.1.1 1558625600 installed <13>Sep 26 12:23:12 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Sep 26 12:23:12 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Sep 26 12:23:12 rpmi: libstdc++8-devel-8.3.1-alt5 sisyphus+235477.100.1.1 1565022025 installed <13>Sep 26 12:23:13 rpmi: gcc8-c++-8.3.1-alt5 sisyphus+235477.100.1.1 1565022025 installed <13>Sep 26 12:23:13 rpmi: rpm-macros-cmake-3.13.4-alt3 sisyphus+229386.100.1.1 1557907647 installed <13>Sep 26 12:23:13 rpmi: cmake-modules-3.13.4-alt3 sisyphus+229386.100.1.1 1557907621 installed <13>Sep 26 12:23:13 rpmi: libuv-1.32.0-alt1 sisyphus+237725.100.7.3 1569407642 installed <13>Sep 26 12:23:13 rpmi: librhash-1.3.5-alt2 1505156279 installed <13>Sep 26 12:23:13 rpmi: libjsoncpp19-1.8.4-alt4 sisyphus+232904.100.1.1 1561247386 installed <13>Sep 26 12:23:13 rpmi: publicsuffix-list-dafsa-20190823-alt1 sisyphus+236630.100.1.1 1566830156 installed <13>Sep 26 12:23:13 rpmi: libpsl-0.21.0-alt2 sisyphus+237083.100.1.1 1567531657 installed <13>Sep 26 12:23:13 rpmi: libnghttp2-1.39.2-alt1 sisyphus+236978.100.1.1 1567325198 installed <13>Sep 26 12:23:14 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Sep 26 12:23:14 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554568 installed <13>Sep 26 12:23:14 rpmi: libnettle7-3.5.1-alt1 sisyphus+235265.40.6.1 1566223065 installed <13>Sep 26 12:23:14 rpmi: libarchive13-3.4.0-alt1 sisyphus+235265.640.9.1 1566482857 installed <13>Sep 26 12:23:14 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:14 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Sep 26 12:23:14 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Sep 26 12:23:14 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Sep 26 12:23:14 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Sep 26 12:23:14 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Sep 26 12:23:14 rpmi: libtasn1-4.14-alt1 sisyphus+235791.100.1.1 1565282372 installed <13>Sep 26 12:23:14 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 26 12:23:14 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 26 12:23:14 rpmi: ca-certificates-2019.09.10-alt1 sisyphus+237323.300.1.1 1568103476 installed <13>Sep 26 12:23:14 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 26 12:23:14 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Sep 26 12:23:14 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Sep 26 12:23:14 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Sep 26 12:23:14 rpmi: python3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 26 12:23:14 rpmi: libpython3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 26 12:23:15 rpmi: python3-base-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 26 12:23:15 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Sep 26 12:23:15 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Sep 26 12:23:15 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Sep 26 12:23:15 groupadd[94259]: group added to /etc/group: name=_keytab, GID=499 <86>Sep 26 12:23:15 groupadd[94259]: group added to /etc/gshadow: name=_keytab <86>Sep 26 12:23:15 groupadd[94259]: new group: name=_keytab, GID=499 <13>Sep 26 12:23:15 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Sep 26 12:23:15 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Sep 26 12:23:15 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Sep 26 12:23:15 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:15 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:16 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:16 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <86>Sep 26 12:23:16 groupadd[95589]: group added to /etc/group: name=sasl, GID=498 <86>Sep 26 12:23:16 groupadd[95589]: group added to /etc/gshadow: name=sasl <86>Sep 26 12:23:16 groupadd[95589]: new group: name=sasl, GID=498 <13>Sep 26 12:23:16 rpmi: libsasl2-3-2.1.27-alt2 sisyphus+228101.100.1.1 1556139863 installed <13>Sep 26 12:23:16 rpmi: libldap-2.4.48-alt1 sisyphus+236705.100.1.1 1566947839 installed <13>Sep 26 12:23:16 rpmi: libcurl-7.66.0-alt1 sisyphus+237384.100.1.1 1568183544 installed <13>Sep 26 12:23:16 rpmi: cmake-3.13.4-alt3 sisyphus+229386.100.1.1 1557907647 installed <13>Sep 26 12:23:16 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:16 rpmi: python3-dev-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 26 12:23:16 rpmi: gcc-c++-8-alt2 sisyphus+235723.100.1.1 1565191484 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libtlsh-3.4.5-alt1.nosrc.rpm <13>Sep 26 12:23:20 rpmi: python3-module-pkg_resources-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed <13>Sep 26 12:23:20 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 26 12:23:20 rpmi: python-module-pkg_resources-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed <13>Sep 26 12:23:20 rpmi: python-module-setuptools-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed <13>Sep 26 12:23:20 rpmi: python3-module-setuptools-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 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.9810 + 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.9810 + 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.3.1 -- The CXX compiler identification is GNU 8.3.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' [ 6%] 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' [ 31%] 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' [ 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_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_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' [ 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' 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' 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' [ 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' [ 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' [ 50%] 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' [ 68%] 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[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [ 75%] 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' [ 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' [ 81%] Built target tlsh_shared 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 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' 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 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' [ 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' [ 93%] 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' make[2]: Entering directory '/usr/src/RPM/BUILD/libtlsh-3.4.5/BUILD' [100%] 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' + 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.55070 + 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.91072 + 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.mNdjWH 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.2SWdsn find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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.wmaMIo 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.vvNSL7 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.Yw9N0I find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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.9loUmW Processing files: python-module-libtlsh-3.4.5-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.91194 + 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.SVqgmq 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.wcjF7z find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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.Qb05Vj 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.616 + 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.3bkbwu 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.jrPaIm find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) 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.cJGPfZ 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.FmShiJ find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EZFtu2 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.f3pLd8 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Nqrw04 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.ri3kJz find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7B5h1t 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 18.49user 3.34system 0:46.69elapsed 46%CPU (0avgtext+0avgdata 38348maxresident)k 0inputs+0outputs (0major+939065minor)pagefaults 0swaps 29.36user 7.26system 1:05.89elapsed 55%CPU (0avgtext+0avgdata 113824maxresident)k 0inputs+0outputs (0major+1448180minor)pagefaults 0swaps