Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-gevent.spec'], chrootPath='/var/lib/mock/dist-an23.5-build-542897-85810/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-gevent.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 setting SOURCE_DATE_EPOCH=1781654400 Wrote: /builddir/build/SRPMS/python-gevent-24.2.1-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-gevent.spec'], chrootPath='/var/lib/mock/dist-an23.5-build-542897-85810/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-gevent.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 setting SOURCE_DATE_EPOCH=1781654400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Par2dG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gevent-24.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gevent-24.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gevent-24.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r deps + sed -i -e s/include_package_data=True/include_package_data=False/ setup.py ++ grep -rl '/\* Generated by Cython' + rm src/gevent/_abstract_linkable.c src/gevent/_greenlet_primitives.c src/gevent/_hub_local.c src/gevent/_hub_primitives.c src/gevent/_ident.c src/gevent/_imap.c src/gevent/_semaphore.c src/gevent/_tracer.c src/gevent/_waiter.c src/gevent/event.c src/gevent/greenlet.c src/gevent/libev/corecext.c src/gevent/libev/corecext.h src/gevent/local.c src/gevent/queue.c src/gevent/resolver/cares.c + rm src/gevent/_generated_include/AddTraceback_impl_685e8114ffd2ebb5c52e3923c2a1f7d26a4f2fcf.h src/gevent/_generated_include/AssertionsEnabled_proto_8d27c0eb99b564b6478c32c836d51c05a57e043b.h src/gevent/_generated_include/BytesEquals_impl_746b002dce864260ae124e9ec0b2acab22451597.h src/gevent/_generated_include/CIntFromPy_impl_23c73bbfec01cd634c54a10a39fd30683b36a2b3.h src/gevent/_generated_include/CIntFromPy_impl_4d5acc1b6ec53e97c9f04051a1a767658bedd103.h src/gevent/_generated_include/CIntFromPy_impl_d407cf96e8f77f989dc89c87c27a80bf3b8b98e8.h src/gevent/_generated_include/CIntFromPy_impl_ddf7f5fbf2c9e92ff24f19af70000c321c5e5d15.h src/gevent/_generated_include/CIntToPy_impl_217262a3c4abdcaa32f1172d2e1b953d18797e98.h src/gevent/_generated_include/CIntToPy_impl_52c1714d930c904c2c03412615778aa122bb07ee.h src/gevent/_generated_include/CIntToPy_impl_61a14ce07b514e0b4173ecceea2b6c0acb9e82cd.h src/gevent/_generated_include/CIntToPy_impl_923d8389307cfa20a7257e02f300b8c6971a956c.h src/gevent/_generated_include/CalculateMetaclass_impl_203feaee5be62f10ae42425ac12ed95eca3c08b1.h src/gevent/_generated_include/CallUnboundCMethod0_proto_3ab6fa2fdee0b4e5f5487ed8c262770bd67db280.h src/gevent/_generated_include/CallUnboundCMethod1_impl_c5306e468677b735d037db96958d0503c1cc1916.h src/gevent/_generated_include/CallUnboundCMethod2_impl_fbf20154a134f91c0ea75485c517b4d72ee7cc48.h src/gevent/_generated_include/CheckBinaryVersion_impl_a371adb95c1836108a2f59a30a36651fd81f879a.h src/gevent/_generated_include/ClassMethod_impl_100ffb81d0cf9eb32a9978d6ea42f476d88cea21.h src/gevent/_generated_include/CodeObjectCache_impl_9806d8691f0647604c43940c16bcbdf8b5ddae48.h src/gevent/_generated_include/CoroutineBase_proto_1c154716c6addde971afe8ba7a5544a9b781d7a7.h src/gevent/_generated_include/CythonFunctionShared_proto_36ff8162c4c601bdb56072b2d4b652a0982d58ed.h src/gevent/_generated_include/FastTypeChecks_impl_6219a87dd9ebd24febb8c453c73d4387df208b73.h src/gevent/_generated_include/FastTypeChecks_proto_2b13e2b7b4c001272c3532dd36139d658523717c.h src/gevent/_generated_include/FetchCommonType_impl_3f99f95d9af905a0af2fed72edc58bee40159cd9.h src/gevent/_generated_include/FixUpExtensionType_impl_e60a6e8679de36b67733d8d1f1a981cbda1fb924.h src/gevent/_generated_include/FunctionImport_impl_760ff65f3deba28117a79eb25c21d8f4ac5d3882.h src/gevent/_generated_include/Generator_impl_d2d56c7e531c9bc496850c2808036aa392c4e2da.h src/gevent/_generated_include/GetException_impl_08ff6d27fe299fe18c4a9e1605526cdf15dc37a9.h src/gevent/_generated_include/GetItemInt_impl_f5af73dcc2306cfbf9667b88ac8a8b9344a8ba5b.h src/gevent/_generated_include/GetItemInt_proto_2a72bfd08caa1e62d7b31cb875031b18cc21dd9d.h src/gevent/_generated_include/GetModuleGlobalName_impl_6b2859a5df134249592fe73b3ed5d634a123a5ff.h src/gevent/_generated_include/GetModuleGlobalName_proto_a1c0eede220c07fb0a9f15c5657e93cc4bd621e0.h src/gevent/_generated_include/InitStrings_impl_3f06df7e9a25ef25ee45820f0898a356f643ab08.h src/gevent/_generated_include/KeywordStringCheck_impl_b0275de680a6c5bc5a7d5fab07dfc8cec11d7703.h src/gevent/_generated_include/MergeVTables_impl_fe9c7e0d25eb2472831a31c44d4d9856868d7dfc.h src/gevent/_generated_include/ParseKeywords_impl_2f416e98dd50eafdf70c12a59308f9765bcd8d80.h src/gevent/_generated_include/PatchGeneratorABC_impl_bff9cfcf80264246b5fc71f6c674b8c7099cf21c.h src/gevent/_generated_include/PatchModuleWithCoroutine_impl_c5baf967944efeaa565670befca5a667dc374d01.h src/gevent/_generated_include/PyDictVersioning_impl_5d2c788aa0ccc0a3db24046a954a7d21f6726dad.h src/gevent/_generated_include/PyDictVersioning_proto_36f095b0bd887fb7db7a2fb45d0f46d110d1777f.h src/gevent/_generated_include/PyErrExceptionMatches_impl_dc6875670d0985bcdeb1c2cdec7bdc93d543962b.h src/gevent/_generated_include/PyErrFetchRestore_impl_a268936a5800d95ae6570c7ceb63cf085298c0ec.h src/gevent/_generated_include/PyErrFetchRestore_proto_3c8356c283a9b817acad2fb9b8176379a6c5a6d7.h src/gevent/_generated_include/PyFunctionFastCall_impl_c5ce1345ba197768b10aaf43fd84d6be725a9b76.h src/gevent/_generated_include/PyFunctionFastCall_proto_98a76744e4b4b8f4d80933bba891d53b3fad5138.h src/gevent/_generated_include/PyIntCompare_impl_63c0d0ba77e9aa83394207f0059a37dd544fad8b.h src/gevent/_generated_include/PyIntCompare_impl_e216202827cc82b3d5fc8dc8c473e21c76736a3e.h src/gevent/_generated_include/PyObjectCallMethod1_impl_f41e399a924c2d3da57c6da832614dc242b60237.h src/gevent/_generated_include/PyObjectFastCall_impl_8562675a2dd8bfccba21861cf30d22647ea3d490.h src/gevent/_generated_include/PyObjectGetMethod_impl_f81ea88f63d5a33ae3a4a01c93a48a3e30be5db1.h src/gevent/_generated_include/PyObject_GenericGetAttrNoDict_impl_d33db3ae867714150b16aa58dd6936ad5a7d632f.h src/gevent/_generated_include/PyVectorcallFastCallDict_impl_a784fa498711d4b5f063c2459e516cae2c90113c.h src/gevent/_generated_include/RaiseException_impl_9a4c94b1f5f71d327574d16f4beddaea23348c37.h src/gevent/_generated_include/Refnanny_proto_5324c7266766d5891ee9dd66731059ef4d92e8ea.h src/gevent/_generated_include/SaveResetException_impl_bc1accf01bbc0744323e3d6f147123ceb3728482.h src/gevent/_generated_include/SliceObject_impl_4c6c18253ac32398f5fd482e14c9d0d8fed6030a.h src/gevent/_generated_include/SliceObject_impl_9b44849f8d178198379d844ac8c7b35cdb105ebe.h src/gevent/_generated_include/SliceTupleAndList_impl_61162c68be90c6ddbfa662886410109c320224cc.h src/gevent/_generated_include/SwapException_impl_c721b154f40be94f3a639ec28e8eba7a31547087.h src/gevent/_generated_include/TypeImport_impl_b8516fd85650613b2d4d5e928f51a825e066cf1c.h src/gevent/_generated_include/UnicodeConcatInPlace_impl_1a62a65f16a484b0ae781b619547dd363f2c7e01.h src/gevent/_generated_include/UnicodeEquals_impl_59ff4e630bc7eaefcae1e033587e8b97b0bf7eb8.h src/gevent/_generated_include/UnpackTuple2_impl_feaea5260085414f8b9c7c148fee71aab84377f3.h src/gevent/_generated_include/UnpackUnboundCMethod_impl_e9bbafc9033b2b9e132e4a452a62aead4e233301.h src/gevent/_generated_include/ValidateBasesTuple_impl_06d4ab92be1fc0c5958d83a8b18c7635b2cfc890.h src/gevent/_generated_include/WriteUnraisableException_impl_752a04d11a69a217cb01224e6fad69896eef622d.h src/gevent/_generated_include/bytes_tailmatch_impl_bce0bb0d49f7e8b0f3d70d2e740ef272760ac2fc.h src/gevent/_generated_include/decode_c_string_impl_c257539adb2c714c0113429b58eba56108e91c29.h src/gevent/_generated_include/dict_iter_impl_c5fa5ed27a3a99a95f794fa0f5554325e38722d2.h src/gevent/_generated_include/fastcall_impl_7b5399414552ef6f805bfef1e9a6c8ec1ae59dfb.h src/gevent/_generated_include/fastcall_proto_b7374b17e0eee0ccb1437dd28b2a5a050f04e0ab.h src/gevent/_generated_include/pep479_impl_60daf9d93624bd927f2e2646f4dec71e1ec55729.h src/gevent/_generated_include/pop_index_proto_8687e287936da6a76b27789296b942c64a42f319.h src/gevent/_generated_include/pybytes_as_double_impl_51d4d75902293146b3b6dfa6d6476414cc7912db.h src/gevent/_generated_include/pyobject_as_double_impl_80c1224d31e0a93eebf732e8de5dcb0a4216dd2b.h src/gevent/_generated_include/pyunicode_as_double_proto_dcd4d6c259ab34cbdaad2744b343998f360dc285.h src/gevent/_generated_include/set_iter_impl_50b4709bb392d30c297af8bba4228848887c244c.h src/gevent/_generated_include/unicode_tailmatch_impl_c25e65ce521388b57b679cb86c109bf3276356f0.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PQXYe0 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libev' + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libev' + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libev -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libev -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 gevent-24.2.1 + export GEVENTSETUP_EMBED=0 + GEVENTSETUP_EMBED=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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include/libev' + 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 -sP' Compiling src/gevent/resolver/cares.pyx because it changed. [1/1] Cythonizing src/gevent/resolver/cares.pyx Error compiling Cython file: ------------------------------------------------------------ ... cdef tuple integer_types if sys.version_info[0] >= 3: integer_types = int, else: integer_types = (int, long) ^ ------------------------------------------------------------ src/gevent/libev/corecext.pyx:69:26: undeclared name not builtin: long Compiling src/gevent/libev/corecext.pyx because it changed. [1/1] Cythonizing src/gevent/libev/corecext.pyx Traceback (most recent call last): File "/builddir/build/BUILD/gevent-24.2.1/setup.py", line 54, in CORE = cythonize1(build_libev_extension()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/gevent-24.2.1/_setuputils.py", line 249, in cythonize1 new_ext = cythonize( ^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize cythonize_one(*args) File "/usr/lib64/python3.11/site-packages/Cython/Build/Dependencies.py", line 1298, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: src/gevent/libev/corecext.pyx error: Bad exit status from /var/tmp/rpm-tmp.PQXYe0 (%build) Bad exit status from /var/tmp/rpm-tmp.PQXYe0 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-gevent.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/python-gevent.spec'