Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-memcached.spec'], chrootPath='/var/lib/mock/alma+epel-10-x86_64/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=1001gid=1001user='mockbuild'unshare_net=TrueprintOutput=Truenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-memcached.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 Wrote: /builddir/build/SRPMS/python-memcached-1.59-13.el10.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/python-memcached.spec"], chrootPath='/var/lib/mock/alma+epel-10-x86_64/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=1001gid=1001user='mockbuild'unshare_net=TrueprintOutput=Truenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/python-memcached.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.meenmX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-memcached-1.59 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/1.59.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-memcached-1.59 + rm -rf /builddir/build/BUILD/python-memcached-1.59-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/python-memcached-1.59-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/1\.58/1\.59/' memcache.py + sed -i -e 's/^import mock/from unittest import mock/' tests/test_memcache.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.04A2tA + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS= + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-memcached-1.59 + CFLAGS='-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 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS= + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /builddir/build/BUILD/python-memcached-1.59/memcache.py:110: SyntaxWarning: invalid escape sequence '\ ' """Object representing a pool of memcache servers. /builddir/build/BUILD/python-memcached-1.59/memcache.py:1303: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? if key is '': /builddir/build/BUILD/python-memcached-1.59/memcache.py:1304: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? if key_extra_len is 0: running build running build_py creating build creating build/lib copying memcache.py -> build/lib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uAJiGm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64 ++ dirname /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64 + CFLAGS='-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 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/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 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS= + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-memcached-1.59 + CFLAGS='-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 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS= + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64 --prefix /usr /builddir/build/BUILD/python-memcached-1.59/memcache.py:110: SyntaxWarning: invalid escape sequence '\ ' """Object representing a pool of memcache servers. /builddir/build/BUILD/python-memcached-1.59/memcache.py:1303: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? if key is '': /builddir/build/BUILD/python-memcached-1.59/memcache.py:1304: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? if key_extra_len is 0: 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-memcached-1.59-13.el10.x86_64/usr creating /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/lib/python3.12/site-packages copying build/lib/memcache.py -> /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/lib/python3.12/site-packages byte-compiling /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/lib/python3.12/site-packages/memcache.py to memcache.cpython-312.pyc /usr/lib/python3.12/site-packages/memcache.py:110: SyntaxWarning: invalid escape sequence '\ ' /usr/lib/python3.12/site-packages/memcache.py:1303: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? /usr/lib/python3.12/site-packages/memcache.py:1304: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? writing byte-compilation script '/tmp/tmp610ttum9.py' /usr/bin/python3 /tmp/tmp610ttum9.py /usr/lib/python3.12/site-packages/memcache.py:110: SyntaxWarning: invalid escape sequence '\ ' /usr/lib/python3.12/site-packages/memcache.py:1303: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? /usr/lib/python3.12/site-packages/memcache.py:1304: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? removing /tmp/tmp610ttum9.py running install_egg_info running egg_info creating python_memcached.egg-info writing python_memcached.egg-info/PKG-INFO writing dependency_links to python_memcached.egg-info/dependency_links.txt writing requirements to python_memcached.egg-info/requires.txt writing top-level names to python_memcached.egg-info/top_level.txt writing manifest file 'python_memcached.egg-info/SOURCES.txt' reading manifest file 'python_memcached.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.rst' warning: no files found matching 'MakeFile' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '.gitignore' found anywhere in distribution warning: no previously-included files matching '.DS_Store' found anywhere in distribution writing manifest file 'python_memcached.egg-info/SOURCES.txt' Copying python_memcached.egg-info to /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/lib/python3.12/site-packages/python_memcached-1.59-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set /usr/lib/python3.12/site-packages/memcache.py:110: SyntaxWarning: invalid escape sequence '\ ' /usr/lib/python3.12/site-packages/memcache.py:1303: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? /usr/lib/python3.12/site-packages/memcache.py:1304: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? /usr/lib/python3.12/site-packages/memcache.py:110: SyntaxWarning: invalid escape sequence '\ ' /usr/lib/python3.12/site-packages/memcache.py:1303: SyntaxWarning: "is" with 'str' literal. Did you mean "=="? /usr/lib/python3.12/site-packages/memcache.py:1304: SyntaxWarning: "is" with 'int' literal. Did you mean "=="? + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qMWddc Processing files: python3-memcached-1.59-13.el10.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AeTv18 + umask 022 + cd /builddir/build/BUILD + cd python-memcached-1.59 + DOCDIR=/builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/share/doc/python3-memcached + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/share/doc/python3-memcached + cp -pr /builddir/build/BUILD/python-memcached-1.59/ChangeLog /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/share/doc/python3-memcached + cp -pr /builddir/build/BUILD/python-memcached-1.59/README.md /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64/usr/share/doc/python3-memcached + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/lib/python3.12/site-packages/memcache.py Provides: python-memcached = 1.59-13.el10 python3-memcached = 1.59-13.el10 python3.12-memcached = 1.59-13.el10 python3.12dist(python-memcached) = 1.59 python3dist(python-memcached) = 1.59 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.12 python3.12dist(six) >= 1.4 Obsoletes: python-memcached < 1.59-13.el10 python3.12-memcached < 1.59-13.el10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-memcached-1.59-13.el10.x86_64 Wrote: /builddir/build/RPMS/python3-memcached-1.59-13.el10.noarch.rpm RPM build warnings: File listed twice: /usr/lib/python3.12/site-packages/memcache.py Child return code was: 0 Mock Version: 5.9