Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gradio.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1713265558.965780/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gradio.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-gradio-4.12.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gradio.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1713265558.965780/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gradio.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-gradio-4.12.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gradio.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1713265558.965780/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gradio.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.ofTuk5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gradio-4.12.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gradio-4.12.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gradio-4.12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AVoUZB + umask 022 + cd /builddir/build/BUILD + cd gradio-4.12.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build . Processing /builddir/build/BUILD/gradio-4.12.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: gradio Building wheel for gradio (pyproject.toml): started Running command Building wheel for gradio (pyproject.toml) Building wheel for gradio (pyproject.toml): finished with status 'done' Created wheel for gradio: filename=gradio-4.12.0-py3-none-any.whl size=16578185 sha256=8bf3244a5c5dbad51d4045de3bd0f62d7e435fdef18f298abdab4ab21d7c7bd2 Stored in directory: /builddir/.cache/pip/wheels/b8/d7/b2/d008e1ad0d86a21d8d1ecc2b231ea4cdf7fd3a245f2ffc8625 Successfully built gradio + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LmsNIw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64 + cd gradio-4.12.0 ++ ls ./build/gradio-4.12.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=gradio==4.12.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build gradio==4.12.0 Using pip 23.1.2 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: ./build Processing ./build/gradio-4.12.0-py3-none-any.whl Installing collected packages: gradio Creating /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/bin/gradio to 755 changing mode of /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/bin/upload_theme to 755 WARNING: The scripts gradio and upload_theme are installed in '/builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed gradio-4.12.0 + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 4.12.0-1 --unique-debug-suffix -4.12.0-1.x86_64 --unique-debug-src-base python-gradio-4.12.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/gradio-4.12.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/lib/python3.11 using /usr/bin/python3.11 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-gradio-4.12.0-1.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8Yeprq + umask 022 + cd /builddir/build/BUILD + cd gradio-4.12.0 + DOCDIR=/builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/share/doc/python3-gradio + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/share/doc/python3-gradio + cp -pr README.md /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/share/doc/python3-gradio + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mYTsun + umask 022 + cd /builddir/build/BUILD + cd gradio-4.12.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/share/licenses/python3-gradio + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/share/licenses/python3-gradio + cp -pr LICENSE /builddir/build/BUILDROOT/python-gradio-4.12.0-1.x86_64/usr/share/licenses/python3-gradio + RPM_EC=0 ++ jobs -p + exit 0 /usr/lib/rpm/pythondistdeps.py:105: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement /usr/lib/rpm/pythondistdeps.py:105: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement error: Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 2 error: Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 3 error: Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 1 error: Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 3 error: Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 2 error: Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 4 Provides: python3-gradio = 4.12.0-1 python3-gradio(x86-64) = 4.12.0-1 python3.11dist(gradio) = 4.12 python3dist(gradio) = 4.12 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/env python(abi) = 3.11 python3.11dist(aiofiles) >= 22 python3.11dist(aiofiles) < 24 python3.11dist(altair) >= 4.2 python3.11dist(altair) < 6 python3.11dist(fastapi) python3.11dist(ffmpy) python3.11dist(gradio-client) = 0.8 python3.11dist(httpx) python3.11dist(huggingface-hub) >= 0.19.3 python3.11dist(importlib-resources) >= 1.3 python3.11dist(importlib-resources) < 7 python3.11dist(jinja2) < 4 python3.11dist(markupsafe) python3.11dist(matplotlib) python3.11dist(numpy) python3.11dist(orjson) python3.11dist(packaging) python3.11dist(pandas) >= 1 python3.11dist(pandas) < 3 python3.11dist(pillow) < 11 python3.11dist(pillow) >= 8 python3.11dist(pydantic) >= 2 python3.11dist(pydub) python3.11dist(python-multipart) python3.11dist(pyyaml) >= 5 python3.11dist(pyyaml) < 7 python3.11dist(semantic-version) python3.11dist(setuptools) python3.11dist(tomlkit) = 0.12 python3.11dist(typer) >= 0.9 python3.11dist(typer) < 1 python3.11dist(typing-extensions) python3.11dist(uvicorn) >= 0.14 RPM build errors: Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 2 Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 3 Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 1 Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 3 Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 2 Dependency tokens must begin with alpha-numeric, '_' or '/': ~= 4 Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gradio.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, 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 --target x86_64 --nodeps /builddir/build/SPECS/python-gradio.spec