Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-idstools.spec'], chrootPath='/var/lib/mock/f40-build-2315411-57916/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-idstools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/python-idstools-0.6.5-3.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-idstools.spec'], chrootPath='/var/lib/mock/f40-build-2315411-57916/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-idstools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lE2rMr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf py-idstools-0.6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/py-idstools-0.6.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd py-idstools-0.6.5 + rm -rf /builddir/build/BUILD/py-idstools-0.6.5-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/py-idstools-0.6.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd tests ~/build/BUILD/py-idstools-0.6.5/tests ~/build/BUILD/py-idstools-0.6.5 ~/build/BUILD/py-idstools-0.6.5 + popd + /usr/bin/rm -rf idstools/compat + /usr/bin/sed -i /compat/d setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EChUOI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd py-idstools-0.6.5 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/idstools copying idstools/__init__.py -> build/lib/idstools copying idstools/packet.py -> build/lib/idstools copying idstools/unified2.py -> build/lib/idstools copying idstools/snort.py -> build/lib/idstools copying idstools/util.py -> build/lib/idstools copying idstools/rule.py -> build/lib/idstools copying idstools/maps.py -> build/lib/idstools copying idstools/suricata.py -> build/lib/idstools copying idstools/net.py -> build/lib/idstools creating build/lib/idstools/rulecat copying idstools/rulecat/__init__.py -> build/lib/idstools/rulecat copying idstools/rulecat/loghandler.py -> build/lib/idstools/rulecat copying idstools/rulecat/extract.py -> build/lib/idstools/rulecat creating build/lib/idstools/rulecat/configs copying idstools/rulecat/configs/__init__.py -> build/lib/idstools/rulecat/configs creating build/lib/idstools/scripts copying idstools/scripts/__init__.py -> build/lib/idstools/scripts copying idstools/scripts/gensidmsgmap.py -> build/lib/idstools/scripts copying idstools/scripts/rulemod.py -> build/lib/idstools/scripts copying idstools/scripts/dumpdynamicrules.py -> build/lib/idstools/scripts copying idstools/scripts/u2eve.py -> build/lib/idstools/scripts copying idstools/scripts/eve2pcap.py -> build/lib/idstools/scripts copying idstools/scripts/u2json.py -> build/lib/idstools/scripts copying idstools/scripts/u2fast.py -> build/lib/idstools/scripts copying idstools/scripts/rulecat.py -> build/lib/idstools/scripts copying idstools/scripts/u2spewfoo.py -> build/lib/idstools/scripts running build_scripts creating build/scripts-3.12 copying and adjusting bin/idstools-dumpdynamicrules -> build/scripts-3.12 copying and adjusting bin/idstools-eve2pcap -> build/scripts-3.12 copying and adjusting bin/idstools-gensidmsgmap -> build/scripts-3.12 copying and adjusting bin/idstools-rulecat -> build/scripts-3.12 copying and adjusting bin/idstools-rulemod -> build/scripts-3.12 copying and adjusting bin/idstools-u2eve -> build/scripts-3.12 copying and adjusting bin/idstools-u2fast -> build/scripts-3.12 copying and adjusting bin/idstools-u2json -> build/scripts-3.12 copying and adjusting bin/idstools-u2spewfoo -> build/scripts-3.12 changing mode of build/scripts-3.12/idstools-dumpdynamicrules from 644 to 755 changing mode of build/scripts-3.12/idstools-eve2pcap from 644 to 755 changing mode of build/scripts-3.12/idstools-gensidmsgmap from 644 to 755 changing mode of build/scripts-3.12/idstools-rulecat from 644 to 755 changing mode of build/scripts-3.12/idstools-rulemod from 644 to 755 changing mode of build/scripts-3.12/idstools-u2eve from 644 to 755 changing mode of build/scripts-3.12/idstools-u2fast from 644 to 755 changing mode of build/scripts-3.12/idstools-u2json from 644 to 755 changing mode of build/scripts-3.12/idstools-u2spewfoo from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.z8TdNh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd py-idstools-0.6.5 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr creating /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib creating /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools copying build/lib/idstools/__init__.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools copying build/lib/idstools/packet.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools copying build/lib/idstools/unified2.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools creating /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rulecat copying build/lib/idstools/rulecat/__init__.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rulecat copying build/lib/idstools/rulecat/loghandler.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rulecat creating /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rulecat/configs copying build/lib/idstools/rulecat/configs/__init__.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rulecat/configs copying build/lib/idstools/rulecat/extract.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rulecat copying build/lib/idstools/snort.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools copying build/lib/idstools/util.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools copying build/lib/idstools/rule.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools copying build/lib/idstools/maps.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools creating /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/scripts/__init__.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/scripts/gensidmsgmap.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/scripts/rulemod.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/scripts/dumpdynamicrules.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/scripts/u2eve.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/scripts/eve2pcap.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/scripts/u2json.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/scripts/u2fast.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/scripts/rulecat.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/scripts/u2spewfoo.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts copying build/lib/idstools/suricata.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools copying build/lib/idstools/net.py -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/packet.py to packet.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/unified2.py to unified2.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rulecat/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rulecat/loghandler.py to loghandler.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rulecat/configs/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rulecat/extract.py to extract.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/snort.py to snort.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/util.py to util.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/rule.py to rule.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/maps.py to maps.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts/gensidmsgmap.py to gensidmsgmap.cpython-312.pyc /usr/lib/python3.12/site-packages/idstools/scripts/gensidmsgmap.py:106: SyntaxWarning: invalid escape sequence '\.' byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts/rulemod.py to rulemod.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts/dumpdynamicrules.py to dumpdynamicrules.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts/u2eve.py to u2eve.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts/eve2pcap.py to eve2pcap.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts/u2json.py to u2json.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts/u2fast.py to u2fast.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts/rulecat.py to rulecat.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/scripts/u2spewfoo.py to u2spewfoo.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/suricata.py to suricata.cpython-312.pyc /usr/lib/python3.12/site-packages/idstools/suricata.py:51: SyntaxWarning: invalid escape sequence '\d' byte-compiling /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools/net.py to net.cpython-312.pyc writing byte-compilation script '/tmp/tmp_lyn2cj9.py' /usr/bin/python3 /tmp/tmp_lyn2cj9.py /usr/lib/python3.12/site-packages/idstools/scripts/gensidmsgmap.py:106: SyntaxWarning: invalid escape sequence '\.' /usr/lib/python3.12/site-packages/idstools/suricata.py:51: SyntaxWarning: invalid escape sequence '\d' removing /tmp/tmp_lyn2cj9.py running install_egg_info running egg_info creating idstools.egg-info writing idstools.egg-info/PKG-INFO writing dependency_links to idstools.egg-info/dependency_links.txt writing top-level names to idstools.egg-info/top_level.txt writing manifest file 'idstools.egg-info/SOURCES.txt' reading manifest file 'idstools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'idstools.egg-info/SOURCES.txt' Copying idstools.egg-info to /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages/idstools-0.6.5-py3.12.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin copying build/scripts-3.12/idstools-u2spewfoo -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin copying build/scripts-3.12/idstools-u2json -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin copying build/scripts-3.12/idstools-gensidmsgmap -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin copying build/scripts-3.12/idstools-rulecat -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin copying build/scripts-3.12/idstools-u2fast -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin copying build/scripts-3.12/idstools-u2eve -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin copying build/scripts-3.12/idstools-eve2pcap -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin copying build/scripts-3.12/idstools-dumpdynamicrules -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin copying build/scripts-3.12/idstools-rulemod -> /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin/idstools-u2spewfoo to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin/idstools-u2json to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin/idstools-gensidmsgmap to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin/idstools-rulecat to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin/idstools-u2fast to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin/idstools-u2eve to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin/idstools-eve2pcap to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin/idstools-dumpdynamicrules to 755 changing mode of /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin/idstools-rulemod to 755 + rm -rfv /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.6.5-3.fc40 --unique-debug-suffix -0.6.5-3.fc40.noarch --unique-debug-src-base python-idstools-0.6.5-3.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/py-idstools-0.6.5 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12 using python3.12 /usr/lib/python3.12/site-packages/idstools/scripts/gensidmsgmap.py:106: SyntaxWarning: invalid escape sequence '\.' /usr/lib/python3.12/site-packages/idstools/scripts/gensidmsgmap.py:106: SyntaxWarning: invalid escape sequence '\.' /usr/lib/python3.12/site-packages/idstools/suricata.py:51: SyntaxWarning: invalid escape sequence '\d' /usr/lib/python3.12/site-packages/idstools/suricata.py:51: SyntaxWarning: invalid escape sequence '\d' + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.bKO31b + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd py-idstools-0.6.5 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0 rootdir: /builddir/build/BUILD/py-idstools-0.6.5 collected 78 items tests/test_classificationmap.py . [ 1%] tests/test_net.py . [ 2%] tests/test_packet.py . [ 3%] tests/test_rule.py .................... [ 29%] tests/test_rulecat.py ................... [ 53%] tests/test_signaturemap.py ... [ 57%] tests/test_snort.py s [ 58%] tests/test_suricata.py s..... [ 66%] tests/test_unified2.py ......................... [ 98%] tests/test_util.py . [100%] =============================== warnings summary =============================== tests/test_rule.py:40 /builddir/build/BUILD/py-idstools-0.6.5/tests/test_rule.py:40: SyntaxWarning: invalid escape sequence '\/' rule = idstools.rule.parse("""alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:"ET CURRENT_EVENTS Request to .in FakeAV Campaign June 19 2012 exe or zip"; flow:established,to_server; content:"setup."; fast_pattern:only; http_uri; content:".in|0d 0a|"; flowbits:isset,somebit; flowbits:unset,otherbit; http_header; pcre:"/\/[a-f0-9]{16}\/([a-z0-9]{1,3}\/)?setup\.(exe|zip)$/U"; pcre:"/^Host\x3a\s.+\.in\r?$/Hmi"; metadata:stage,hostile_download; reference:url,isc.sans.edu/diary/+Vulnerabilityqueerprocessbrittleness/13501; classtype:trojan-activity; sid:2014929; rev:1;)""") tests/test_rule.py:152 /builddir/build/BUILD/py-idstools-0.6.5/tests/test_rule.py:152: SyntaxWarning: invalid escape sequence '\/' rule_string = """alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:"ET CURRENT_EVENTS Request to .in FakeAV Campaign June 19 2012 exe or zip"; flow:established,to_server; content:"setup."; fast_pattern:only; http_uri; content:".in|0d 0a|"; flowbits:isset,somebit; flowbits:unset,otherbit; http_header; pcre:"/\/[a-f0-9]{16}\/([a-z0-9]{1,3}\/)?setup\.(exe|zip)$/U"; pcre:"/^Host\x3a\s.+\.in\r?$/Hmi"; metadata:stage,hostile_download; reference:url,isc.sans.edu/diary/+Vulnerabilityqueerprocessbrittleness/13501; classtype:trojan-activity; sid:2014929; rev:1;)""" tests/test_rule.py:172 /builddir/build/BUILD/py-idstools-0.6.5/tests/test_rule.py:172: SyntaxWarning: invalid escape sequence '\;' rule_string = u"""alert ip any any -> any any (msg:"TEST RULE\; and some"; content:"uid=0|28|root|29|"; tag:session,5,packets; classtype:bad-unknown; sid:10000000; rev:1;)""" tests/test_rule.py:175 /builddir/build/BUILD/py-idstools-0.6.5/tests/test_rule.py:175: SyntaxWarning: invalid escape sequence '\;' self.assertEqual(rule.msg, "TEST RULE\; and some") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============ 76 passed, 2 skipped, 4 warnings in 130.34s (0:02:10) ============= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-idstools-0.6.5-3.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LinnYk + umask 022 + cd /builddir/build/BUILD + cd py-idstools-0.6.5 + DOCDIR=/builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/share/doc/python3-idstools + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/share/doc/python3-idstools + cp -pr /builddir/build/BUILD/py-idstools-0.6.5/README.rst /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch/usr/share/doc/python3-idstools + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-idstools = 0.6.5-3.fc40 python3-idstools = 0.6.5-3.fc40 python3.12-idstools = 0.6.5-3.fc40 python3.12dist(idstools) = 0.6.5 python3dist(idstools) = 0.6.5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.12 Conflicts: python2-idstools < 0.6.3-7 Obsoletes: python-idstools < 0.6.5-3.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-idstools-0.6.5-3.fc40.noarch Wrote: /builddir/build/RPMS/python3-idstools-0.6.5-3.fc40.noarch.rpm Child return code was: 0