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-werkzeug.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-211625-15299/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=981gid=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-werkzeug.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-werkzeug-3.0.3-1.ocs23.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-werkzeug.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-211625-15299/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-werkzeug.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.295kRr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf werkzeug-3.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/werkzeug-3.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd werkzeug-3.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/preserve-any-existing-PYTHONPATH-in-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find examples/ -type f -name '*.png' -executable -print -exec chmod -x '{}' + examples/cupoftee/shared/up.png examples/cupoftee/shared/down.png + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gqo7SQ + 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 werkzeug-3.0.3 + mkdir -p /builddir/build/BUILD/werkzeug-3.0.3/.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/werkzeug-3.0.3/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/werkzeug-3.0.3/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/werkzeug-3.0.3 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: Werkzeug Building wheel for Werkzeug (pyproject.toml): started Running command Building wheel for Werkzeug (pyproject.toml) Building wheel for Werkzeug (pyproject.toml): finished with status 'done' Created wheel for Werkzeug: filename=werkzeug-3.0.3-py3-none-any.whl size=227274 sha256=65ca06cd20efb00b9052ce45b656120718b8570567c2e1d47ce9c7164928e093 Stored in directory: /builddir/.cache/pip/wheels/87/83/27/bb7b364f799fd959db9779bdf3c7fcaf567c5c1f3beec8222b Successfully built Werkzeug + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8EWRJr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch + cd werkzeug-3.0.3 ++ ls /builddir/build/BUILD/werkzeug-3.0.3/pyproject-wheeldir/werkzeug-3.0.3-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=werkzeug==3.0.3 + TMPDIR=/builddir/build/BUILD/werkzeug-3.0.3/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.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/werkzeug-3.0.3/pyproject-wheeldir werkzeug==3.0.3 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/werkzeug-3.0.3/pyproject-wheeldir Processing ./pyproject-wheeldir/werkzeug-3.0.3-py3-none-any.whl Installing collected packages: werkzeug Successfully installed werkzeug-3.0.3 + '[' -d /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/werkzeug-3.0.3.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/werkzeug-3.0.3.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-werkzeug-3.0.3-1.ocs23.noarch --record /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/werkzeug-3.0.3.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/werkzeug-3.0.3.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/werkzeug-3.0.3.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/werkzeug-3.0.3.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/lib/python3.11/site-packages/werkzeug-3.0.3.dist-info/REQUESTED' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.0.3-1.ocs23 --unique-debug-suffix -3.0.3-1.ocs23.noarch --unique-debug-src-base python-werkzeug-3.0.3-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/werkzeug-3.0.3 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-werkzeug-3.0.3-1.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jSj3rq + 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 werkzeug-3.0.3 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-werkzeug-3.0.3-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LMeHAp + umask 022 + cd /builddir/build/BUILD + cd werkzeug-3.0.3 + DOCDIR=/builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/doc/python3-werkzeug + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/doc/python3-werkzeug + cp -pr CHANGES.rst /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/doc/python3-werkzeug + cp -pr README.rst /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/doc/python3-werkzeug cp: cannot stat 'README.rst': No such file or directory + : + RPM_EC=0 ++ jobs -p + exit 0 error: File not found: /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/doc/python3-werkzeug/README.rst Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tpDIp6 + umask 022 + cd /builddir/build/BUILD + cd werkzeug-3.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/licenses/python3-werkzeug + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/licenses/python3-werkzeug + cp -pr LICENSE.rst /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/licenses/python3-werkzeug cp: cannot stat 'LICENSE.rst': No such file or directory + : + RPM_EC=0 ++ jobs -p + exit 0 error: File not found: /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/licenses/python3-werkzeug/LICENSE.rst RPM build errors: File not found: /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/doc/python3-werkzeug/README.rst File not found: /builddir/build/BUILDROOT/python-werkzeug-3.0.3-1.ocs23.noarch/usr/share/licenses/python3-werkzeug/LICENSE.rst Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-werkzeug.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-werkzeug.spec