Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-greenlet.spec'], chrootPath='/var/lib/mock/dist-an23-build-352965-71005/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=988gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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 error: %changelog not in descending chronological order Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1686700800 Wrote: /builddir/build/SRPMS/python-greenlet-2.0.2-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/python-greenlet.spec'], chrootPath='/var/lib/mock/dist-an23-build-352965-71005/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=988gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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 error: %changelog not in descending chronological order Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1686700800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.89TVkq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf greenlet-2.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/greenlet-2.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd greenlet-2.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-greenlet-add-support-for-loongarch64.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pGYJpX + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd greenlet-2.0.2 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib.linux-loongarch64-cpython-310 creating build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/__init__.py -> build/lib.linux-loongarch64-cpython-310/greenlet creating build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/__init__.py -> build/lib.linux-loongarch64-cpython-310/greenlet/platform creating build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_version.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_stack_saved.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_weakref.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_contextvars.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_throw.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_leaks.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_greenlet_trash.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_gc.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/leakcheck.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_greenlet.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_tracing.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_cpp.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/__init__.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_extension_interface.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_generator_nested.py -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/test_generator.py -> build/lib.linux-loongarch64-cpython-310/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' warning: no previously-included files found matching 'benchmarks/*.json' 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' copying src/greenlet/greenlet.cpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet.h -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_allocator.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_compiler_compat.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_cpython_compat.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_exceptions.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_greenlet.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_internal.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_refs.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_slp_switch.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_thread_state.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_thread_state_dict_cleanup.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/greenlet_thread_support.hpp -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/slp_platformselect.h -> build/lib.linux-loongarch64-cpython-310/greenlet copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_arm64_masm.asm -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_arm64_masm.obj -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_arm64_msvc.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_loongarch64_unix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_mips_unix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_s390_unix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_x32_unix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/platform/switch_x86_unix.h -> build/lib.linux-loongarch64-cpython-310/greenlet/platform copying src/greenlet/tests/_test_extension.c -> build/lib.linux-loongarch64-cpython-310/greenlet/tests copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.linux-loongarch64-cpython-310/greenlet/tests running build_ext building 'greenlet._greenlet' extension creating build/temp.linux-loongarch64-cpython-310 creating build/temp.linux-loongarch64-cpython-310/src creating build/temp.linux-loongarch64-cpython-310/src/greenlet gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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,-D_FORTIFY_SOURCE=2 -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,-D_FORTIFY_SOURCE=2 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.10 -c src/greenlet/greenlet.cpp -o build/temp.linux-loongarch64-cpython-310/src/greenlet/greenlet.o In file included from src/greenlet/slp_platformselect.h:63, from src/greenlet/greenlet_slp_switch.hpp:82, from src/greenlet/greenlet.cpp:21: src/greenlet/platform/switch_loongarch64_unix.h: In function ‘int slp_switch()’: src/greenlet/platform/switch_loongarch64_unix.h:18:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 18 | register int err; | ^~~ src/greenlet/platform/switch_loongarch64_unix.h:19:23: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 19 | register int *stackref, stsizediff; | ^~~~~~~~ src/greenlet/platform/switch_loongarch64_unix.h:19:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 19 | register int *stackref, stsizediff; | ^~~~~~~~~~