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 noarch --nodeps /builddir/build/SPECS/python-cram.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-77896-52887/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 noarch --nodeps /builddir/build/SPECS/python-cram.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 Wrote: /builddir/build/SRPMS/python-cram-0.7-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps --nocheck /builddir/build/SPECS/python-cram.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-77896-52887/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps --nocheck /builddir/build/SPECS/python-cram.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rbb0li + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cram-0.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cram-0.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cram-0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas scripts/cram scripts/cram: updating + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.UotXHN + umask 022 + cd /builddir/build/BUILD + cd cram-0.7 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p Wrote: /builddir/build/SRPMS/python-cram-0.7-1.oc9.buildreqs.nosrc.rpm + exit 0 Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps --nocheck /builddir/build/SPECS/python-cram.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-77896-52887/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=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps --nocheck /builddir/build/SPECS/python-cram.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fMNUT8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cram-0.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cram-0.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cram-0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas scripts/cram scripts/cram: updating + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.YKWaP8 + umask 022 + cd /builddir/build/BUILD + cd cram-0.7 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) warning: no previously-included files found matching 'contrib/PKGBUILD' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) warning: no previously-included files found matching 'contrib/PKGBUILD' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-cram-0.7-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps --nocheck /builddir/build/SPECS/python-cram.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-77896-52887/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 -ba --noprep --noclean --target noarch --nodeps --nocheck /builddir/build/SPECS/python-cram.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 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.TUcfwX + umask 022 + cd /builddir/build/BUILD + cd cram-0.7 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv cram-0.7.dist-info/ removed 'cram-0.7.dist-info/METADATA' removed 'cram-0.7.dist-info/COPYING.txt' removed 'cram-0.7.dist-info/top_level.txt' removed directory 'cram-0.7.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) warning: no previously-included files found matching 'contrib/PKGBUILD' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) warning: no previously-included files found matching 'contrib/PKGBUILD' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ElAaRD + 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/lib/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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cram-0.7 + mkdir -p /builddir/build/BUILD/cram-0.7/.pyproject-builddir + 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' + TMPDIR=/builddir/build/BUILD/cram-0.7/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/cram-0.7/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/cram-0.7 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) warning: no previously-included files found matching 'contrib/PKGBUILD' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: cram Building wheel for cram (pyproject.toml): started Running command Building wheel for cram (pyproject.toml) warning: no previously-included files found matching 'contrib/PKGBUILD' Building wheel for cram (pyproject.toml): finished with status 'done' Created wheel for cram: filename=cram-0.7-py2.py3-none-any.whl size=25487 sha256=bcafc09664a9c8fa7ba8416a307f0314af9a1d46048c6e74a016c16a28cffea3 Stored in directory: /builddir/.cache/pip/wheels/3d/65/99/c47200c63d4547beb5a4ed536db6a5e6b180d79f3431f1f741 Successfully built cram + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uH3mFx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch + cd cram-0.7 ++ ls /builddir/build/BUILD/cram-0.7/pyproject-wheeldir/cram-0.7-py2.py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=cram==0.7 + TMPDIR=/builddir/build/BUILD/cram-0.7/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/cram-0.7/pyproject-wheeldir cram==0.7 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/cram-0.7/pyproject-wheeldir Processing ./pyproject-wheeldir/cram-0.7-py2.py3-none-any.whl Installing collected packages: cram Successfully installed cram-0.7 + '[' -d /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/bin ']' + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/bin/cram /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/bin/cram: updating + rm -rfv /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/cram-0.7.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/lib/python3.11/site-packages/cram-0.7.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch --record /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/lib/python3.11/site-packages/cram-0.7.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/lib/python3.11/site-packages/cram-0.7.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/lib/python3.11/site-packages/cram-0.7.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/lib/python3.11/site-packages/cram-0.7.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/lib/python3.11/site-packages/cram-0.7.dist-info/REQUESTED' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr cram + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.7-1.oc9 --unique-debug-suffix -0.7-1.oc9.noarch --unique-debug-src-base python-cram-0.7-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/cram-0.7 find: 'debug': No such file or directory + /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-cram-0.7-1.oc9.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: python3-cram-0.7-1.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WbAZvM + umask 022 + cd /builddir/build/BUILD + cd cram-0.7 + DOCDIR=/builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/share/doc/python3-cram + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/share/doc/python3-cram + cp -pr NEWS.rst /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/share/doc/python3-cram + cp -pr README.rst /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/share/doc/python3-cram + cp -pr TODO.md /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch/usr/share/doc/python3-cram + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-cram = 0.7-1.oc9 python3-cram = 0.7-1.oc9 python3.11-cram = 0.7-1.oc9 python3.11dist(cram) = 0.7 python3dist(cram) = 0.7 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.11 Obsoletes: python3.11-cram < 0.7-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-cram-0.7-1.oc9.noarch Wrote: /builddir/build/SRPMS/python-cram-0.7-1.oc9.src.rpm Wrote: /builddir/build/RPMS/python3-cram-0.7-1.oc9.noarch.rpm Child return code was: 0