Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-aws-sam-translator.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-311142-15020/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-aws-sam-translator.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1676246400 Wrote: /builddir/build/SRPMS/python-aws-sam-translator-1.55.0-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/python-aws-sam-translator.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-311142-15020/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/python-aws-sam-translator.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1676246400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RfMw9F + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf serverless-application-model-1.55.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/serverless-application-model-1.55.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd serverless-application-model-1.55.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pr-2511-v1.54.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rvf THIRD_PARTY_LICENSES samtranslator/third_party removed 'THIRD_PARTY_LICENSES' removed 'samtranslator/third_party/__init__.py' removed 'samtranslator/third_party/py27hash/__init__.py' removed 'samtranslator/third_party/py27hash/hash.py' removed directory 'samtranslator/third_party/py27hash' removed directory 'samtranslator/third_party' + sed -r -i '/^[[:blank:]]*"THIRD_PARTY_LICENSES",[[:blank:]]*$/d' setup.py + sed -r -i '/^[[:blank:]]*THIRD_PARTY_LICENSES[[:blank:]]*$/d' setup.cfg + sed -r -i 's/samtranslator\.third_party\.(py27hash)/\1/g' samtranslator/utils/py27hash_fix.py + echo 'py27hash >= 1.0.2' + sed -r -i -e 's/^(black|coverage|flake8|pylint|pytest-cov|tox)\b/#\1/' -e 's/^(mypy|boto3-stubs|types-.*)\b/#\1/' -e 's/^(click|parameterized|pytest(-(rerunfailures|xdist))?)~=/\1>=/' -e 's/^(pyyaml|requests|tenacity)~=/\1>=/' requirements/dev.txt + sed -r -i '/^addopts[[:blank:]]*=/d' pytest.ini + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.o0P0SQ + umask 022 + cd /builddir/build/BUILD + cd serverless-application-model-1.55.0 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/serverless-application-model-1.55.0/.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + TMPDIR=/builddir/build/BUILD/serverless-application-model-1.55.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/serverless-application-model-1.55.0/pyproject-wheeldir -x dev 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 + exit 0 Wrote: /builddir/build/SRPMS/python-aws-sam-translator-1.55.0-1.fc37.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 -br --target riscv64 --nodeps /builddir/build/SPECS/python-aws-sam-translator.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-311142-15020/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/python-aws-sam-translator.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1676246400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.w8R3MY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf serverless-application-model-1.55.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/serverless-application-model-1.55.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd serverless-application-model-1.55.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pr-2511-v1.54.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rvf THIRD_PARTY_LICENSES samtranslator/third_party removed 'THIRD_PARTY_LICENSES' removed 'samtranslator/third_party/__init__.py' removed 'samtranslator/third_party/py27hash/__init__.py' removed 'samtranslator/third_party/py27hash/hash.py' removed directory 'samtranslator/third_party/py27hash' removed directory 'samtranslator/third_party' + sed -r -i '/^[[:blank:]]*"THIRD_PARTY_LICENSES",[[:blank:]]*$/d' setup.py + sed -r -i '/^[[:blank:]]*THIRD_PARTY_LICENSES[[:blank:]]*$/d' setup.cfg + sed -r -i 's/samtranslator\.third_party\.(py27hash)/\1/g' samtranslator/utils/py27hash_fix.py + echo 'py27hash >= 1.0.2' + sed -r -i -e 's/^(black|coverage|flake8|pylint|pytest-cov|tox)\b/#\1/' -e 's/^(mypy|boto3-stubs|types-.*)\b/#\1/' -e 's/^(click|parameterized|pytest(-(rerunfailures|xdist))?)~=/\1>=/' -e 's/^(pyyaml|requests|tenacity)~=/\1>=/' requirements/dev.txt + sed -r -i '/^addopts[[:blank:]]*=/d' pytest.ini + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.y9NvRE + umask 022 + cd /builddir/build/BUILD + cd serverless-application-model-1.55.0 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/serverless-application-model-1.55.0/.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + TMPDIR=/builddir/build/BUILD/serverless-application-model-1.55.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/serverless-application-model-1.55.0/pyproject-wheeldir -x dev Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 62.6.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.1) warning: no files found matching 'THIRD_PARTY_LICENSES' no previously-included directories found matching 'tests' HOOK STDOUT: running egg_info HOOK STDOUT: creating aws_sam_translator.egg-info HOOK STDOUT: writing aws_sam_translator.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to aws_sam_translator.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to aws_sam_translator.egg-info/requires.txt HOOK STDOUT: writing top-level names to aws_sam_translator.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'aws_sam_translator.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'aws_sam_translator.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: adding license file 'NOTICE' HOOK STDOUT: writing manifest file 'aws_sam_translator.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.1) warning: no files found matching 'THIRD_PARTY_LICENSES' no previously-included directories found matching 'tests' HOOK STDOUT: running dist_info HOOK STDOUT: writing aws_sam_translator.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to aws_sam_translator.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to aws_sam_translator.egg-info/requires.txt HOOK STDOUT: writing top-level names to aws_sam_translator.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'aws_sam_translator.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: adding license file 'NOTICE' HOOK STDOUT: writing manifest file 'aws_sam_translator.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/serverless-application-model-1.55.0/aws_sam_translator-1.55.0.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICENSE*") HOOK STDOUT: adding license file "NOTICE" (matched pattern "NOTICE*") Handling boto3 (==1.*,>=1.19.5) from hook generated metadata: Requires-Dist Requirement not satisfied: boto3 (==1.*,>=1.19.5) Handling jsonschema (<5,>=3.2) from hook generated metadata: Requires-Dist Requirement not satisfied: jsonschema (<5,>=3.2) Handling py27hash (>=1.0.2) from hook generated metadata: Requires-Dist Requirement not satisfied: py27hash (>=1.0.2) Handling pytest-xdist (>=2.5) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: pytest-xdist (>=2.5) ; extra == 'dev' Handling pytest-env (~=0.6.2) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: pytest-env (~=0.6.2) ; extra == 'dev' Handling pytest-rerunfailures (>=9.1.1) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: pytest-rerunfailures (>=9.1.1) ; extra == 'dev' Handling pyyaml (>=5.4) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: pyyaml (>=5.4) ; extra == 'dev' Handling pytest (>=6.2.5) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: pytest (>=6.2.5) ; extra == 'dev' Handling parameterized (>=0.7.4) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: parameterized (>=0.7.4) ; extra == 'dev' Handling click (>=7.1) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: click (>=7.1) ; extra == 'dev' Handling dateparser (~=0.7) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: dateparser (~=0.7) ; extra == 'dev' Handling boto3 (<2,>=1.23) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: boto3 (<2,>=1.23) ; extra == 'dev' Handling tenacity (>=7.0.0) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: tenacity (>=7.0.0) ; extra == 'dev' Handling requests (>=2.24.0) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: requests (>=2.24.0) ; extra == 'dev' Handling docopt (~=0.6.2) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: docopt (~=0.6.2) ; extra == 'dev' Handling ruamel.yaml (==0.17.21) ; extra == 'dev' from hook generated metadata: Requires-Dist Requirement not satisfied: ruamel.yaml (==0.17.21) ; extra == 'dev' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-aws-sam-translator-1.55.0-1.fc37.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details.