Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pymilter.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-95659-59673/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pymilter.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-pymilter-1.0.5-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pymilter.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-95659-59673/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/python-pymilter.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8SGpat + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pymilter-pymilter-1.0.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pymilter-1.0.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pymilter-pymilter-1.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (pymilter-check.patch): + echo 'Patch #0 (pymilter-check.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .check --fuzz=0 patching file Milter/utils.py Hunk #1 succeeded at 69 (offset 1 line). patching file test.py Hunk #1 succeeded at 18 (offset 4 lines). + cp -p template.py milter-template.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LQqvbN + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pymilter-pymilter-1.0.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-aarch64-cpython-311 copying mime.py -> build/lib.linux-aarch64-cpython-311 creating build/lib.linux-aarch64-cpython-311/Milter copying Milter/testctx.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/greylist.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/utils.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/dynip.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/__init__.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/dns.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/config.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/cache.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/dsn.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/pyip6.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/sgmllib.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/unsign.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/greysql.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/policy.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/plock.py -> build/lib.linux-aarch64-cpython-311/Milter copying Milter/test.py -> build/lib.linux-aarch64-cpython-311/Milter running build_ext building 'milter' extension creating build/temp.linux-aarch64-cpython-311 gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DMAX_ML_REPLY=32 -I/usr/include/python3.11 -c miltermodule.c -o build/temp.linux-aarch64-cpython-311/miltermodule.o -Werror=implicit-function-declaration gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-aarch64-cpython-311/miltermodule.o -L/usr/lib/libmilter -L/usr/lib64 -lmilter -o build/lib.linux-aarch64-cpython-311/milter.cpython-311-aarch64-linux-gnu.so + checkmodule -m -M -o pymilter.mod pymilter.te + semodule_package -o pymilter.pp -m pymilter.mod + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NablPK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64 + cd pymilter-pymilter-1.0.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64 running install /usr/lib/python3.11/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-pymilter-1.0.5-1.oc9.aarch64/usr creating /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64 creating /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages copying build/lib.linux-aarch64-cpython-311/mime.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages creating /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/testctx.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/greylist.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/utils.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/dynip.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/__init__.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/dns.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/config.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/cache.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/dsn.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/pyip6.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/sgmllib.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/unsign.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/greysql.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/policy.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/plock.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/Milter/test.py -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter copying build/lib.linux-aarch64-cpython-311/milter.cpython-311-aarch64-linux-gnu.so -> /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/mime.py to mime.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/testctx.py to testctx.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/greylist.py to greylist.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/utils.py to utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/dynip.py to dynip.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/dns.py to dns.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/config.py to config.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/cache.py to cache.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/dsn.py to dsn.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/pyip6.py to pyip6.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/sgmllib.py to sgmllib.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/unsign.py to unsign.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/greysql.py to greysql.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/policy.py to policy.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/plock.py to plock.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/Milter/test.py to test.cpython-311.pyc writing byte-compilation script '/tmp/tmpu2tuqkp9.py' /usr/bin/python3 /tmp/tmpu2tuqkp9.py removing /tmp/tmpu2tuqkp9.py running install_egg_info running egg_info creating pymilter.egg-info writing pymilter.egg-info/PKG-INFO writing dependency_links to pymilter.egg-info/dependency_links.txt writing top-level names to pymilter.egg-info/top_level.txt writing manifest file 'pymilter.egg-info/SOURCES.txt' reading manifest file 'pymilter.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'start.sh' adding license file 'COPYING' writing manifest file 'pymilter.egg-info/SOURCES.txt' Copying pymilter.egg-info to /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/pymilter-1.0.5-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/bin/__pycache__ + mkdir -p /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/run/milter + mkdir -p /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/var/log/milter + mkdir -p /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/libexec/milter + mkdir -p /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib/tmpfiles.d + install -m 0644 /builddir/build/SOURCES/tmpfiles-python-pymilter.conf /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib/tmpfiles.d/python-pymilter.conf + mkdir -p /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/selinux/targeted + cp -p pymilter.pp /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/selinux/targeted + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.0.5-1.oc9 --unique-debug-suffix -1.0.5-1.oc9.aarch64 --unique-debug-src-base python-pymilter-1.0.5-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/pymilter-pymilter-1.0.5 extracting debug info from /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11/site-packages/milter.cpython-311-aarch64-linux-gnu.so 102 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/lib/debug/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Xgfhy3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pymilter-pymilter-1.0.5 ++ ls -d build/lib.linux-aarch64-cpython-311 + py3path=build/lib.linux-aarch64-cpython-311 + PYTHONPATH=build/lib.linux-aarch64-cpython-311:. + python3 test.py .............chkm [1] multipart/mixed chkm [1, 1] multipart/alternative chk [1, 1] text/plain chkm [1, 2] multipart/alternative chk [1, 2] text/html chkm [1, 4] multipart/mixed chk [1, 4] application/rtf chkm [1] multipart/mixed chkm [1, 1] multipart/alternative chk [1, 1] text/plain chkm [1, 2] multipart/alternative chk [1, 2] text/html chkm [1, 4] multipart/mixed chk [1, 4] application/pdf chkm [1] multipart/mixed chk [1] text/plain chkm [2] multipart/mixed chk [2] application/octet-stream chkm [1] multipart/mixed chk [1] application/octet-stream chkm [1] multipart/related chkm [1, 1] multipart/alternative chk [1, 1] text/html chkm [1, 3] multipart/related chk [1, 3] audio/x-wav chkm [1, 4] multipart/related chk [1, 4] text/plain chkm [1] multipart/mixed chk [1] text/html chkm [2] multipart/mixed chk [2] audio/x-wav chk None application/octet-stream chkm [1] multipart/alternative chk [1] text/html chkm [2] multipart/alternative chk [2] audio/x-wav chkm [3] multipart/alternative chk [3] application/octet-stream chkm [1] multipart/mixed chk [1] text/plain chkm [2] multipart/mixed chkm [2, 1] message/rfc822 chkm [2, 1, 1] multipart/mixed chk [2, 1, 1] text/plain chkm [2, 1, 2] multipart/mixed chkm [2, 1, 2, 1] message/rfc822 chk [2, 1, 2, 1] text/plain chkm [1] multipart/mixed chk [1] text/plain chkm [2] multipart/mixed chkm [2, 1] message/rfc822 chkm [2, 1, 1] multipart/mixed chk [2, 1, 1] text/plain chkm [2, 1, 2] multipart/mixed chkm [2, 1, 2, 1] message/rfc822 chk [2, 1, 2, 1] text/plain chkm [1] multipart/mixed chk [1] text/plain chkm [2] multipart/mixed chk [2] application/x-msdownload chkm [3] multipart/mixed chk [3] text/plain chkm [1] multipart/mixed chk [1] text/plain chkm [2] multipart/mixed chk [2] application/x-msdownload chkm [3] multipart/mixed chk [3] text/plain chkm [1] multipart/mixed chk [1] text/plain chkm [2] multipart/mixed chk [2] application/octet-stream chkm [3] multipart/mixed chk [3] text/plain chkm [1] multipart/mixed chk [1] text/plain chkm [2] multipart/mixed chk [2] application/x-msdownload chkm [3] multipart/mixed chk [3] text/plain chkm [1] multipart/mixed chk [1] text/plain chkm [2] multipart/mixed chk [2] application/octet-stream chkm [1] multipart/mixed chkm [1, 1] multipart/alternative chk [1, 1] text/plain chkm [1, 2] multipart/alternative chk [1, 2] text/html chkm [1, 4] multipart/mixed chkm [1, 4, 1] message/rfc822 chkm [1, 4, 1, 1] multipart/mixed chk [1, 4, 1, 1] text/plain chkm [1, 4, 1, 2] multipart/mixed chk [1, 4, 1, 2] application/octet-stream chkm [1] multipart/mixed chkm [1, 1] multipart/alternative chk [1, 1] text/plain text/plain modified: False chkm [1, 2] multipart/alternative chk [1, 2] text/html text/html modified: False chkm [1, 4] multipart/mixed chkm [1, 4, 1] message/rfc822 chkm [1, 4, 1, 1] multipart/mixed chk [1, 4, 1, 1] text/plain text/plain modified: False chkm [1, 4, 1, 2] multipart/mixed chk [1, 4, 1, 2] application/octet-stream application/octet-stream modified: False 2024Aug05 18:56:36 [1] connect from localhost at 1.2.3.4 2024Aug05 18:56:36 [1] hello from spamrelay 2024Aug05 18:56:36 [1] user batman sent mail from () 2024Aug05 18:56:36 [1] rcpt to () val= b'flexfax: ILOVEYOU' 2024Aug05 18:56:36 [1] Subject: b'flexfax: ILOVEYOU' 2024Aug05 18:56:36 [1] X-Mailer: b'Internet Mail Service (5.5.2650.21)' chkm [1] multipart/mixed chk [1] text/plain chkm [2] multipart/mixed chk [2] application/octet-stream 2024Aug05 18:56:36 [1] Temp file: /tmp/tmpx4ha_u5i.defang 2024Aug05 18:56:36 [1] This message appeared to contain a virus. It was originally named 'LOVE-LETTER-FOR-YOU.TXT.vbs', and has been removed. A copy of your original message was saved as 'builder2.aarch64.opencloudos.tech:/tmp/tmpx4ha_u5i.defang'. See your administrator. val= b'flexfax: ILOVEYOU' chkm [1] multipart/mixed chk [1] text/plain chkm [2] multipart/mixed chk [2] application/octet-stream ..This message appeared to contain a virus. It was originally named 'LOVE-LETTER-FOR-YOU.TXT.vbs', and has been removed. A copy of your original message was saved as 'builder2.aarch64.opencloudos.tech:/tmp/tmpkykdh7lo.defang'. See your administrator. val= b'Re: P.B.S kids' chkm [1] multipart/alternative chk [1] text/plain chkm [2] multipart/alternative chk [2] text/html mail from () rcpt to () chkm [1] multipart/mixed chk [1] application/octet-stream Temp file: /tmp/tmpv6z3aa9w.defang mail from () rcpt to () val= b'MAEU XSS025786 - ORDER 1251 - CONTAINER MAEU 6053725' Subject: b'MAEU XSS025786 - ORDER 1251 - CONTAINER MAEU 6053725' X-Mailer: b'Lotus Notes Release 5.07a May 14, 2001' chk None application/octet-stream chgheader: content-type[0]= chgheader: content-disposition[0]= chgheader: content-transfer-encoding[0]= addheader: Content-Type=text/plain; name=WARNING.TXT Temp file: /tmp/tmpwxluoiwn.defang .2024Aug05 18:56:36 [4] connect from localhost at 1.2.3.4 2024Aug05 18:56:36 [4] hello from spamrelay 2024Aug05 18:56:36 [4] user batman sent mail from () 2024Aug05 18:56:36 [4] rcpt to () val= b'\xc0\xb4\xd7\xd4qq.com\xb5\xc4\xcd\xcb\xd0\xc5' 2024Aug05 18:56:36 [4] Subject: b'\xc0\xb4\xd7\xd4qq.com\xb5\xc4\xcd\xcb\xd0\xc5' chk None text/plain 2024Aug05 18:56:36 [4] eom .val= b'Just another "Crappy Day in Paradise" here @ the Ranch' chkm [1] multipart/mixed chk [1] text/html chkm [2] multipart/mixed chk [2] image/pjpeg ....x.........sh: line 1: makemap: command not found tr: write error: Broken pipe E ====================================================================== failed! test/access.db: Cannot open for reading ERROR: testPolicy (testpolicy.PolicyTestCase.testPolicy) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pymilter-pymilter-1.0.5/testpolicy.py", line 26, in testPolicy with MTAPolicy('good@example.com',conf=self.config) as p: File "/builddir/build/BUILD/pymilter-pymilter-1.0.5/Milter/policy.py", line 43, in __enter__ self.acf = dbmopen(self.access_file,'r') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/pymilter-pymilter-1.0.5/Milter/policy.py", line 17, in dbmopen f.open(fname,mode) File "/builddir/build/BUILD/pymilter-pymilter-1.0.5/Milter/policy.py", line 8, in open self.f.open(fname,flags=flags) bsddb3.db.DBNoSuchFileError: (2, 'No such file or directory') ---------------------------------------------------------------------- Ran 32 tests in 1.114s FAILED (errors=1, expected failures=1) + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pymilter-1.0.5-1.oc9.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dLZDwU + umask 022 + cd /builddir/build/BUILD + cd pymilter-pymilter-1.0.5 + DOCDIR=/builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python3-pymilter + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python3-pymilter + cp -pr README.md /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python3-pymilter + cp -pr ChangeLog /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python3-pymilter + cp -pr NEWS /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python3-pymilter + cp -pr TODO /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python3-pymilter + cp -pr CREDITS /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python3-pymilter + cp -pr sample.py /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python3-pymilter + cp -pr milter-template.py /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python3-pymilter + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nOBrCh + umask 022 + cd /builddir/build/BUILD + cd pymilter-pymilter-1.0.5 + LICENSEDIR=/builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/licenses/python3-pymilter + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/licenses/python3-pymilter + cp -pr COPYING /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/licenses/python3-pymilter + RPM_EC=0 ++ jobs -p + exit 0 warning: Ignoring invalid regex ^(%{python2_sitearch})/.*\.so$ Provides: python-pymilter = 1.0.5-1.oc9 python3-pymilter = 1.0.5-1.oc9 python3-pymilter(aarch-64) = 1.0.5-1.oc9 python3.11-pymilter = 1.0.5-1.oc9 python3.11dist(pymilter) = 1.0.5 python3dist(pymilter) = 1.0.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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libmilter.so.1.0()(64bit) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python3.11-pymilter < 1.0.5-1.oc9 Processing files: python-pymilter-common-1.0.5-1.oc9.noarch warning: Ignoring invalid regex ^(%{python2_sitearch})/.*\.so$ Provides: python-pymilter-common = 1.0.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python-pymilter-selinux-1.0.5-1.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ipXkWK + umask 022 + cd /builddir/build/BUILD + cd pymilter-pymilter-1.0.5 + DOCDIR=/builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python-pymilter-selinux + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python-pymilter-selinux + cp -pr pymilter.te /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64/usr/share/doc/python-pymilter-selinux + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pymilter-selinux = 1.0.5-1.oc9 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Processing files: python-pymilter-debugsource-1.0.5-1.oc9.aarch64 warning: Ignoring invalid regex ^(%{python2_sitearch})/.*\.so$ Provides: python-pymilter-debugsource = 1.0.5-1.oc9 python-pymilter-debugsource(aarch-64) = 1.0.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-pymilter-debuginfo-1.0.5-1.oc9.aarch64 warning: Ignoring invalid regex ^(%{python2_sitearch})/.*\.so$ Provides: debuginfo(build-id) = 744271d8df5f504c02b4b2161ef0e7595a838c47 python-pymilter-debuginfo = 1.0.5-1.oc9 python3-pymilter-debuginfo = 1.0.5-1.oc9 python3-pymilter-debuginfo(aarch-64) = 1.0.5-1.oc9 python3.11-pymilter-debuginfo = 1.0.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-pymilter-debugsource(aarch-64) = 1.0.5-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pymilter-1.0.5-1.oc9.aarch64 Wrote: /builddir/build/RPMS/python-pymilter-selinux-1.0.5-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/python-pymilter-debugsource-1.0.5-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/python3-pymilter-debuginfo-1.0.5-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/python-pymilter-common-1.0.5-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/python3-pymilter-1.0.5-1.oc9.aarch64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Ignoring invalid regex ^(%{python2_sitearch})/.*\.so$ Ignoring invalid regex ^(%{python2_sitearch})/.*\.so$ Ignoring invalid regex ^(%{python2_sitearch})/.*\.so$ Ignoring invalid regex ^(%{python2_sitearch})/.*\.so$ Child return code was: 0