Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-greenlet.spec'], chrootPath='/var/lib/mock/f38-build-729942-101936/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-greenlet.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=1674172800 Wrote: /builddir/build/SRPMS/python-greenlet-1.1.3-2.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-greenlet.spec'], chrootPath='/var/lib/mock/f38-build-729942-101936/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-greenlet.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=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.43ThnA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf greenlet-1.1.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/greenlet-1.1.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd greenlet-1.1.3 + /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.mnviaL + umask 022 + cd /builddir/build/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 + cd greenlet-1.1.3 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + 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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib.linux-riscv64-cpython-311 creating build/lib.linux-riscv64-cpython-311/greenlet copying src/greenlet/__init__.py -> build/lib.linux-riscv64-cpython-311/greenlet creating build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_cpp.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_contextvars.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_generator_nested.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_stack_saved.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_weakref.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/__init__.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_throw.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_extension_interface.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_gc.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_tracing.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_greenlet.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_generator.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_version.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/test_leaks.py -> build/lib.linux-riscv64-cpython-311/greenlet/tests running egg_info creating src/greenlet.egg-info writing src/greenlet.egg-info/PKG-INFO writing dependency_links to src/greenlet.egg-info/dependency_links.txt writing requirements to src/greenlet.egg-info/requires.txt writing top-level names to src/greenlet.egg-info/top_level.txt writing manifest file 'src/greenlet.egg-info/SOURCES.txt' reading manifest file 'src/greenlet.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' warning: no files found matching '*.py' under directory 'appveyor' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyd' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution warning: no previously-included files matching '.coverage' found anywhere in distribution adding license file 'LICENSE' adding license file 'LICENSE.PSF' adding license file 'AUTHORS' writing manifest file 'src/greenlet.egg-info/SOURCES.txt' /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'greenlet.platform' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'greenlet.platform' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'greenlet.platform' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'greenlet.platform' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) copying src/greenlet/greenlet.c -> build/lib.linux-riscv64-cpython-311/greenlet copying src/greenlet/greenlet.h -> build/lib.linux-riscv64-cpython-311/greenlet copying src/greenlet/slp_platformselect.h -> build/lib.linux-riscv64-cpython-311/greenlet creating build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_mips_unix.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_s390_unix.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x32_unix.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/platform/switch_x86_unix.h -> build/lib.linux-riscv64-cpython-311/greenlet/platform copying src/greenlet/tests/_test_extension.c -> build/lib.linux-riscv64-cpython-311/greenlet/tests copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.linux-riscv64-cpython-311/greenlet/tests running build_ext building 'greenlet._greenlet' extension creating build/temp.linux-riscv64-cpython-311 creating build/temp.linux-riscv64-cpython-311/src creating build/temp.linux-riscv64-cpython-311/src/greenlet gcc -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -fPIC -I/usr/include/python3.11 -c src/greenlet/greenlet.c -o build/temp.linux-riscv64-cpython-311/src/greenlet/greenlet.o In file included from src/greenlet/slp_platformselect.h:55, from src/greenlet/greenlet.c:372: src/greenlet/platform/switch_riscv_unix.h: In function ‘slp_switch’: src/greenlet/platform/switch_riscv_unix.h:30:1: error: s0 cannot be used in ‘asm’ here 30 | } | ^ error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.mnviaL (%build) Bad exit status from /var/tmp/rpm-tmp.mnviaL (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 riscv64 --nodeps /builddir/build/SPECS/python-greenlet.spec