Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-py3dns.spec'], chrootPath='/var/lib/mock/openeuler-23.03-x86_64-1688889066.053745/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-py3dns.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-py3dns-3.2.1-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-py3dns.spec'], chrootPath='/var/lib/mock/openeuler-23.03-x86_64-1688889066.053745/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-py3dns.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-py3dns-3.2.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-py3dns.spec'], chrootPath='/var/lib/mock/openeuler-23.03-x86_64-1688889066.053745/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-py3dns.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JF4NR4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf py3dns-3.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/py3dns-3.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd py3dns-3.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python3-py3dns-handle-absent-resolv.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CGviht + umask 022 + cd /builddir/build/BUILD + cd py3dns-3.2.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /builddir/build/BUILD/py3dns-3.2.1/DNS/Base.py:57: UserWarning: [Errno 2] No such file or directory: '/etc/resolv.conf' warnings.warn(str(e)) running build running build_py creating build creating build/lib creating build/lib/DNS copying DNS/Class.py -> build/lib/DNS copying DNS/__init__.py -> build/lib/DNS copying DNS/Base.py -> build/lib/DNS copying DNS/lazy.py -> build/lib/DNS copying DNS/Lib.py -> build/lib/DNS copying DNS/win32dns.py -> build/lib/DNS copying DNS/Type.py -> build/lib/DNS copying DNS/Status.py -> build/lib/DNS copying DNS/Opcode.py -> build/lib/DNS + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PK09Xl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64 + cd py3dns-3.2.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64 /builddir/build/BUILD/py3dns-3.2.1/DNS/Base.py:57: UserWarning: [Errno 2] No such file or directory: '/etc/resolv.conf' warnings.warn(str(e)) running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr creating /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10 creating /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS copying build/lib/DNS/Class.py -> /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS copying build/lib/DNS/__init__.py -> /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS copying build/lib/DNS/Base.py -> /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS copying build/lib/DNS/lazy.py -> /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS copying build/lib/DNS/Lib.py -> /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS copying build/lib/DNS/win32dns.py -> /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS copying build/lib/DNS/Type.py -> /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS copying build/lib/DNS/Status.py -> /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS copying build/lib/DNS/Opcode.py -> /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS byte-compiling /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS/Class.py to Class.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS/Base.py to Base.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS/lazy.py to lazy.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS/Lib.py to Lib.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS/win32dns.py to win32dns.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS/Type.py to Type.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS/Status.py to Status.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/DNS/Opcode.py to Opcode.cpython-310.pyc writing byte-compilation script '/tmp/tmpa589us1a.py' /usr/bin/python3 /tmp/tmpa589us1a.py removing /tmp/tmpa589us1a.py running install_egg_info running egg_info writing py3dns.egg-info/PKG-INFO writing dependency_links to py3dns.egg-info/dependency_links.txt writing top-level names to py3dns.egg-info/top_level.txt reading manifest file 'py3dns.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'py3dns.egg-info/SOURCES.txt' Copying py3dns.egg-info to /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10/site-packages/py3dns-3.2.1-py3.10.egg-info running install_scripts + install -d -m755 /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64//usr/share/doc/python-py3dns + '[' -d doc ']' ~/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64 ~/build/BUILD/py3dns-3.2.1 + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '/%h/%f\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' + popd ~/build/BUILD/py3dns-3.2.1 + mv /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 3.2.1-1 --unique-debug-suffix -3.2.1-1.x86_64 --unique-debug-src-base python-py3dns-3.2.1-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/py3dns-3.2.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64/usr/lib/python3.10 using /usr/bin/python3.10 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-py3dns-3.2.1-1.noarch Provides: python-py3dns python3-py3dns = 3.2.1-1 python3.10dist(py3dns) = 3.2.1 python3dist(py3dns) = 3.2.1 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: python(abi) = 3.10 Processing files: python-py3dns-help-3.2.1-1.noarch warning: Empty %files file /builddir/build/BUILD/py3dns-3.2.1/doclist.lst Provides: python-py3dns-help = 3.2.1-1 python3-py3dns-doc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64 Wrote: /builddir/build/RPMS/python-py3dns-help-3.2.1-1.noarch.rpm Wrote: /builddir/build/RPMS/python3-py3dns-3.2.1-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ePTm85 + umask 022 + cd /builddir/build/BUILD + cd py3dns-3.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-py3dns-3.2.1-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.QOpelS + umask 022 + cd /builddir/build/BUILD + rm -rf py3dns-3.2.1 py3dns-3.2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Empty %files file /builddir/build/BUILD/py3dns-3.2.1/doclist.lst Child return code was: 0