Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-pycodestyle.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-pycodestyle.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-pycodestyle-2.10.0-4.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-pycodestyle.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-pycodestyle.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.rU78Fg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pycodestyle-2.10.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pycodestyle-2.10.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pycodestyle-2.10.0 + rm -rf /builddir/build/BUILD/pycodestyle-2.10.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pycodestyle-2.10.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-add-fix-for-muting-FSTRING_MIDDLE-in-3.12.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-drop-python3.6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-get-testsuite-passing-on-3.12.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-add-test-file-for-new-3.12-syntax.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-3.12-format-specs-are-not-an-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed --in-place 's:#!\s*/usr.*::' pycodestyle.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.x1RLNV + 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 pycodestyle-2.10.0 + 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' running build running build_py creating build creating build/lib copying pycodestyle.py -> build/lib running egg_info writing pycodestyle.egg-info/PKG-INFO writing dependency_links to pycodestyle.egg-info/dependency_links.txt writing entry points to pycodestyle.egg-info/entry_points.txt writing top-level names to pycodestyle.egg-info/top_level.txt reading manifest file 'pycodestyle.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' warning: no previously-included files matching '*.pyc' found under directory 'testsuite' warning: no previously-included files matching '*.pyo' found under directory 'testsuite' no previously-included directories found matching 'docs/_build' adding license file 'LICENSE' writing manifest file 'pycodestyle.egg-info/SOURCES.txt' + make -C docs man SPHINXBUILD=sphinx-build-3.12 make: Entering directory '/builddir/build/BUILD/pycodestyle-2.10.0/docs' sphinx-build-3.12 -b man -d _build/doctrees . _build/man Running Sphinx v7.2.6 making output directory... done building [mo]: targets for 0 po files that are out of date writing output... building [man]: all manpages updating environment: [new config] 5 added, 0 changed, 0 removed reading sources... [ 20%] advanced reading sources... [ 40%] api reading sources... [ 60%] developer reading sources... [ 80%] index reading sources... [100%] intro looking for now-outdated files... none found pickling environment... done checking consistency... done writing... pycodestyle.1 { intro advanced api developer } done build succeeded. The manual pages are in _build/man. Build finished. The manual pages are in _build/man. make: Leaving directory '/builddir/build/BUILD/pycodestyle-2.10.0/docs' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NP1Z7M + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64 ++ dirname /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.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 pycodestyle-2.10.0 + 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-pycodestyle-2.10.0-4.el10.x86_64 --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-pycodestyle-2.10.0-4.el10.x86_64/usr creating /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/lib/python3.12/site-packages copying build/lib/pycodestyle.py -> /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/lib/python3.12/site-packages byte-compiling /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/lib/python3.12/site-packages/pycodestyle.py to pycodestyle.cpython-312.pyc writing byte-compilation script '/tmp/tmplsifj25s.py' /usr/bin/python3 /tmp/tmplsifj25s.py removing /tmp/tmplsifj25s.py running install_egg_info running egg_info writing pycodestyle.egg-info/PKG-INFO writing dependency_links to pycodestyle.egg-info/dependency_links.txt writing entry points to pycodestyle.egg-info/entry_points.txt writing top-level names to pycodestyle.egg-info/top_level.txt reading manifest file 'pycodestyle.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' warning: no previously-included files matching '*.pyc' found under directory 'testsuite' warning: no previously-included files matching '*.pyo' found under directory 'testsuite' adding license file 'LICENSE' writing manifest file 'pycodestyle.egg-info/SOURCES.txt' Copying pycodestyle.egg-info to /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/lib/python3.12/site-packages/pycodestyle-2.10.0-py3.12.egg-info running install_scripts Installing pycodestyle script to /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/bin/__pycache__ + mv /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/bin/pycodestyle /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/bin/pycodestyle-3.12 + ln -s ./pycodestyle-3.12 /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/bin/pycodestyle-3 + ln -s ./pycodestyle-3 /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/bin/pycodestyle + install -D docs/_build/man/pycodestyle.1 /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/share/man/man1/pycodestyle.1 + /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-pycodestyle-2.10.0-4.el10.x86_64/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.SPMmIx Processing files: python3-pycodestyle-2.10.0-4.el10.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pf6P2W + umask 022 + cd /builddir/build/BUILD + cd pycodestyle-2.10.0 + DOCDIR=/builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/share/doc/python3-pycodestyle + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/share/doc/python3-pycodestyle + cp -pr /builddir/build/BUILD/pycodestyle-2.10.0/README.rst /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/share/doc/python3-pycodestyle + cp -pr /builddir/build/BUILD/pycodestyle-2.10.0/CHANGES.txt /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/share/doc/python3-pycodestyle + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aIrPnW + umask 022 + cd /builddir/build/BUILD + cd pycodestyle-2.10.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/share/licenses/python3-pycodestyle + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/share/licenses/python3-pycodestyle + cp -pr /builddir/build/BUILD/pycodestyle-2.10.0/LICENSE /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64/usr/share/licenses/python3-pycodestyle + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pycodestyle = 2.10.0-4.el10 python3-pycodestyle = 2.10.0-4.el10 python3.12-pycodestyle = 2.10.0-4.el10 python3.12dist(pycodestyle) = 2.10 python3dist(pycodestyle) = 2.10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.12 Conflicts: python-pycodestyle < 2.10.0-4.el10 Obsoletes: python-pycodestyle < 2.10.0-4.el10 python3.12-pycodestyle < 2.10.0-4.el10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pycodestyle-2.10.0-4.el10.x86_64 Wrote: /builddir/build/RPMS/python3-pycodestyle-2.10.0-4.el10.noarch.rpm Child return code was: 0