Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-mpmath.spec'], chrootPath='/var/lib/mock/dist-an27-pre-build-567205-90672/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-mpmath.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 setting SOURCE_DATE_EPOCH=1786924800 Wrote: /builddir/build/SRPMS/python-mpmath-1.4.1-1.an27.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-mpmath.spec'], chrootPath='/var/lib/mock/dist-an27-pre-build-567205-90672/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-mpmath.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 setting SOURCE_DATE_EPOCH=1786924800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.RhepXe Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EjwE9O + umask 022 + cd /builddir/build/BUILD/python-mpmath-1.4.1-build + cd /builddir/build/BUILD/python-mpmath-1.4.1-build + rm -rf mpmath-1.4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-mpmath-1.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mpmath-1.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + _STUB_LUA='local M = {} function M.pythonname(name) return "" end function M.normalize_name(name) return "" end function M.python_provide(name, version) return "" end function M.pythonname_obsoletes(name) return "" end function M.pythonname_provides(name) return "" end return M' + for _stubdir in /usr/lib/rpm/lua /usr/local/lib/lua/5.4 /usr/lib/lua/5.4 + mkdir -p /usr/lib/rpm/lua/fedora/srpm + true + echo 'local M = {} function M.pythonname(name) return "" end function M.normalize_name(name) return "" end function M.python_provide(name, version) return "" end function M.pythonname_obsoletes(name) return "" end function M.pythonname_provides(name) return "" end return M' /var/tmp/rpm-tmp.EjwE9O: line 53: /usr/lib/rpm/lua/fedora/srpm/python.lua: No such file or directory + true + for _stubdir in /usr/lib/rpm/lua /usr/local/lib/lua/5.4 /usr/lib/lua/5.4 + mkdir -p /usr/local/lib/lua/5.4/fedora/srpm + true + echo 'local M = {} function M.pythonname(name) return "" end function M.normalize_name(name) return "" end function M.python_provide(name, version) return "" end function M.pythonname_obsoletes(name) return "" end function M.pythonname_provides(name) return "" end return M' /var/tmp/rpm-tmp.EjwE9O: line 53: /usr/local/lib/lua/5.4/fedora/srpm/python.lua: No such file or directory + true + for _stubdir in /usr/lib/rpm/lua /usr/local/lib/lua/5.4 /usr/lib/lua/5.4 + mkdir -p /usr/lib/lua/5.4/fedora/srpm + true + echo 'local M = {} function M.pythonname(name) return "" end function M.normalize_name(name) return "" end function M.python_provide(name, version) return "" end function M.pythonname_obsoletes(name) return "" end function M.pythonname_provides(name) return "" end return M' /var/tmp/rpm-tmp.EjwE9O: line 53: /usr/lib/lua/5.4/fedora/srpm/python.lua: No such file or directory + true + sed -r -i '/^gmpy2 =/d' pyproject.toml + sed -r -i 's/^gmpy = .*/gmpy = ['\''gmpy2'\'']/' pyproject.toml + sed -i 's/^license = '\''\([^'\'']*\)'\''/license = {text = "\1"}/' pyproject.toml + sed -i 's/^license = "\([^"]*\)"/license = {text = "\1"}/' pyproject.toml + sed -i '/^license-files/d' pyproject.toml + sed -i 's/'\''setuptools>=[0-9]*'\''/'\''setuptools'\''/' pyproject.toml + sed -i 's/'\''setuptools-scm>=[0-9]*'\''/'\''setuptools-scm'\''/' pyproject.toml + /usr/bin/python3 -c ' import re with open('\''pyproject.toml'\'', '\''r'\'') as f: lines = f.readlines() new_lines = [] for line in lines: if re.match(r'\''^dynamic\s*='\'', line): # Remove '\''version'\'' or "version" entries, handles both quote styles line = re.sub(r"['\''\"]version['\''\"]\s*,?\s*", '\'''\'', line) new_lines.append(line) content = '\'''\''.join(new_lines) # Add static version after [project] line if not already present project_section = content.split('\''[project]'\'', 1)[-1].split('\''['\'', 1)[0] if '\''[project]'\'' in content else '\'''\'' if '\''version = '\'' not in project_section: content = content.replace('\''[project]\n'\'', '\''[project]\nversion = "1.4.1"\n'\'', 1) with open('\''pyproject.toml'\'', '\''w'\'') as f: f.write(content) ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.utRLi6 + umask 022 + cd /builddir/build/BUILD/python-mpmath-1.4.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -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 -flto=auto -ffat-lto-objects -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-hardened-ld-errors -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 mpmath-1.4.1 + export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MPMATH=1.4.1 + SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MPMATH=1.4.1 + pip3 wheel --no-build-isolation --no-deps . Processing /builddir/build/BUILD/python-mpmath-1.4.1-build/mpmath-1.4.1 Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: mpmath Building wheel for mpmath (pyproject.toml): started Building wheel for mpmath (pyproject.toml): finished with status 'done' Created wheel for mpmath: filename=mpmath-1.4.1-py3-none-any.whl size=430495 sha256=a120b427caa4947b97766787c37f7c1c43e67b6bca158c0286fd4dc6ea9f14d4 Stored in directory: /builddir/.cache/pip/wheels/8f/a3/38/042247f7a0bb7b73e9746d14883b017eae7eeb50ad29cb753d Successfully built mpmath + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Oxe8Mh + umask 022 + cd /builddir/build/BUILD/python-mpmath-1.4.1-build + '[' /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-mpmath-1.4.1-build + mkdir /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -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 -flto=auto -ffat-lto-objects -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-hardened-ld-errors -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 mpmath-1.4.1 + export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MPMATH=1.4.1 + SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MPMATH=1.4.1 ++ ls /builddir/build/BUILD/python-mpmath-1.4.1-build/mpmath-1.4.1/mpmath-1.4.1-py3-none-any.whl + pip3 install --no-build-isolation --no-deps --root /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT /builddir/build/BUILD/python-mpmath-1.4.1-build/mpmath-1.4.1/mpmath-1.4.1-py3-none-any.whl Processing ./mpmath-1.4.1-py3-none-any.whl Installing collected packages: mpmath Successfully installed mpmath-1.4.1 + rm -f python-mpmath-1.4.1-1.an27.noarch-pyproject-ghost-distinfo + for distinfo in /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT/usr/lib/python3.12/site-packages/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/mpmath-1.4.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT/usr/lib/python3.12/site-packages/mpmath-1.4.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT --record /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT/usr/lib/python3.12/site-packages/mpmath-1.4.1.dist-info/RECORD --output /builddir/build/BUILD/python-mpmath-1.4.1-build/python-mpmath-1.4.1-1.an27.noarch-pyproject-record + rm -f /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT/usr/lib/python3.12/site-packages/mpmath-1.4.1.dist-info/RECORD + rm -f /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT/usr/lib/python3.12/site-packages/mpmath-1.4.1.dist-info/REQUESTED + RPM_PERCENTAGES_COUNT=8 + /usr/bin/python3 /usr/lib/rpm/anolis/pyproject_save_files.py --output-files /builddir/build/BUILD/python-mpmath-1.4.1-build/python-mpmath-1.4.1-1.an27.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-mpmath-1.4.1-build/python-mpmath-1.4.1-1.an27.noarch-pyproject-modules --buildroot /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-mpmath-1.4.1-build/python-mpmath-1.4.1-1.an27.noarch-pyproject-record --prefix /usr mpmath + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /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/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/brp-python-rpm-in-distinfo + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 -j80 Bytecompiling .py files below /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: python3-mpmath-1.4.1-1.an27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gmHbk1 + umask 022 + cd /builddir/build/BUILD/python-mpmath-1.4.1-build + cd mpmath-1.4.1 + DOCDIR=/builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT/usr/share/doc/python3-mpmath + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT/usr/share/doc/python3-mpmath + cp -pr /builddir/build/BUILD/python-mpmath-1.4.1-build/mpmath-1.4.1/CHANGES /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT/usr/share/doc/python3-mpmath + cp -pr /builddir/build/BUILD/python-mpmath-1.4.1-build/mpmath-1.4.1/README.rst /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT/usr/share/doc/python3-mpmath + RPM_EC=0 ++ jobs -p + exit 0 Provides: python3-mpmath = 1.4.1-1.an27 python3.12dist(mpmath) = 1.4.1 python3dist(mpmath) = 1.4.1 python3dist(mpmath) = 1.4.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.12 Processing files: python3-mpmath+gmpy-1.4.1-1.an27.noarch Provides: python3-mpmath+gmpy = 1.4.1-1.an27 python3.12dist(mpmath[gmpy]) = 1.4.1 python3dist(mpmath[gmpy]) = 1.4.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.12 python3.12dist(gmpy2) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-mpmath-1.4.1-build/BUILDROOT Wrote: /builddir/build/RPMS/python3-mpmath+gmpy-1.4.1-1.an27.noarch.rpm Wrote: /builddir/build/RPMS/python3-mpmath-1.4.1-1.an27.noarch.rpm Child return code was: 0