* Getting build dependencies for wheel... /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running 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 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' * Building wheel... /builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/__init__.py -> build/lib.linux-aarch64-cpython-313/greenlet creating build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/__init__.py -> build/lib.linux-aarch64-cpython-313/greenlet/platform creating build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/__init__.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_greenlet_trash.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_generator.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_version.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_greenlet.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_cpp.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_extension_interface.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_tracing.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/fail_clearing_run_switches.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/fail_cpp_exception.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_stack_saved.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/leakcheck.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/fail_switch_three_greenlets.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/fail_initialstub_already_started.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_leaks.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/fail_switch_three_greenlets2.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/fail_slp_switch.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_contextvars.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/fail_switch_two_greenlets.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_throw.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_gc.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_generator_nested.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/test_weakref.py -> build/lib.linux-aarch64-cpython-313/greenlet/tests running 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 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/TBrokenGreenlet.cpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/TExceptionState.cpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/TGreenlet.cpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/TGreenletGlobals.cpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/TMainGreenlet.cpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/TPythonState.cpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/TStackState.cpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/TThreadStateDestroy.cpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/TUserGreenlet.cpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet.cpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet.h -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_allocator.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_compiler_compat.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_cpython_add_pending.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_cpython_compat.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_exceptions.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_greenlet.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_internal.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_refs.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_slp_switch.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_thread_state.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_thread_state_dict_cleanup.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/greenlet_thread_support.hpp -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/slp_platformselect.h -> build/lib.linux-aarch64-cpython-313/greenlet copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_arm64_masm.asm -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_arm64_masm.obj -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_arm64_msvc.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_loongarch64_linux.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_mips_unix.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_s390_unix.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_x32_unix.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/platform/switch_x86_unix.h -> build/lib.linux-aarch64-cpython-313/greenlet/platform copying src/greenlet/tests/_test_extension.c -> build/lib.linux-aarch64-cpython-313/greenlet/tests copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.linux-aarch64-cpython-313/greenlet/tests warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'greenlet._greenlet' extension creating build/temp.linux-aarch64-cpython-313/src/greenlet aarch64-openwrt-linux-musl-g++ -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.13.9=Python-3.13.9 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/Python-3.13.9=Python-3.13.9 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-14.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-14.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.13 -fPIC -I/builder/shared-workdir/build/sdk/staging_dir/hostpkg/include/python3.13 -c src/greenlet/greenlet.cpp -o build/temp.linux-aarch64-cpython-313/src/greenlet/greenlet.o In file included from src/greenlet/greenlet_greenlet.hpp:26, from src/greenlet/greenlet_internal.hpp:20, from src/greenlet/greenlet.cpp:19: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.13/internal/pycore_frame.h:8:4: error: #error "this header requires Py_BUILD_CORE define" 8 | # error "this header requires Py_BUILD_CORE define" | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.13/internal/pycore_frame.h:13: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.13/internal/pycore_code.h:8:4: error: #error "this header requires Py_BUILD_CORE define" 8 | # error "this header requires Py_BUILD_CORE define" | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.13/internal/pycore_code.h:11: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.13/internal/pycore_lock.h:13:4: error: #error "this header requires Py_BUILD_CORE define" 13 | # error "this header requires Py_BUILD_CORE define" | ^~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.13/internal/pycore_code.h:12: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a72_musl/usr/include/python3.13/internal/pycore_backoff.h:9:4: error: #error "this header requires Py_BUILD_CORE define" 9 | # error "this header requires Py_BUILD_CORE define" | ^~~~~ src/greenlet/greenlet_greenlet.hpp:104:9: error: '_PyCFrame' does not name a type; did you mean '_frame'? 104 | _PyCFrame* cframe; | ^~~~~~~~~ | _frame src/greenlet/greenlet_greenlet.hpp:138:29: error: '_PyCFrame' has not been declared 138 | void set_new_cframe(_PyCFrame& frame) noexcept; | ^~~~~~~~~ In file included from src/greenlet/greenlet.cpp:33: src/greenlet/TUserGreenlet.cpp: In member function 'virtual greenlet::Greenlet::switchstack_result_t greenlet::UserGreenlet::g_initialstub(void*)': src/greenlet/TUserGreenlet.cpp:280:5: error: '_PyCFrame' was not declared in this scope; did you mean '_frame'? 280 | _PyCFrame trace_info; | ^~~~~~~~~ | _frame src/greenlet/TUserGreenlet.cpp:282:39: error: 'trace_info' was not declared in this scope 282 | this->python_state.set_new_cframe(trace_info); | ^~~~~~~~~~ In file included from src/greenlet/greenlet.cpp:36: src/greenlet/TPythonState.cpp: In constructor 'greenlet::PythonState::PythonState()': src/greenlet/TPythonState.cpp:12:6: error: class 'greenlet::PythonState' does not have any field named 'cframe' 12 | ,cframe(nullptr) | ^~~~~~ src/greenlet/TPythonState.cpp:82:11: error: 'class greenlet::PythonState' has no member named 'cframe' 82 | this->cframe = &PyThreadState_GET()->root_cframe; | ^~~~~~ src/greenlet/TPythonState.cpp:82:42: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'root_cframe' 82 | this->cframe = &PyThreadState_GET()->root_cframe; | ^~~~~~~~~~~ src/greenlet/TPythonState.cpp: In member function 'void greenlet::PythonState::operator<<(const PyThreadState*)': src/greenlet/TPythonState.cpp:128:11: error: 'class greenlet::PythonState' has no member named 'cframe' 128 | this->cframe = tstate->cframe; | ^~~~~~ src/greenlet/TPythonState.cpp:128:28: error: 'const PyThreadState' {aka 'const struct _ts'} has no member named 'cframe' 128 | this->cframe = tstate->cframe; | ^~~~~~ src/greenlet/TPythonState.cpp:136:31: error: 'C_RECURSION_LIMIT' was not declared in this scope; did you mean 'Py_C_RECURSION_LIMIT'? 136 | this->c_recursion_depth = C_RECURSION_LIMIT - tstate->c_recursion_remaining; | ^~~~~~~~~~~~~~~~~ | Py_C_RECURSION_LIMIT src/greenlet/TPythonState.cpp:140:35: error: 'const PyThreadState' {aka 'const struct _ts'} has no member named 'cframe' 140 | this->current_frame = tstate->cframe->current_frame; | ^~~~~~ src/greenlet/TPythonState.cpp:156:42: error: 'const PyThreadState' {aka 'const struct _ts'} has no member named 'trash' 156 | this->trash_delete_nesting = tstate->trash.delete_nesting; | ^~~~~ src/greenlet/TPythonState.cpp: In member function 'void greenlet::PythonState::operator>>(PyThreadState*)': src/greenlet/TPythonState.cpp:175:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'cframe' 175 | tstate->cframe = this->cframe; | ^~~~~~ src/greenlet/TPythonState.cpp:175:28: error: 'class greenlet::PythonState' has no member named 'cframe' 175 | tstate->cframe = this->cframe; | ^~~~~~ src/greenlet/TPythonState.cpp:189:37: error: 'C_RECURSION_LIMIT' was not declared in this scope; did you mean 'Py_C_RECURSION_LIMIT'? 189 | tstate->c_recursion_remaining = C_RECURSION_LIMIT - this->c_recursion_depth; | ^~~~~~~~~~~~~~~~~ | Py_C_RECURSION_LIMIT src/greenlet/TPythonState.cpp:200:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'cframe' 200 | tstate->cframe->current_frame = this->current_frame; | ^~~~~~ src/greenlet/TPythonState.cpp:206:13: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'trash' 206 | tstate->trash.delete_nesting = this->trash_delete_nesting; | ^~~~~ src/greenlet/TPythonState.cpp: At global scope: src/greenlet/TPythonState.cpp:266:6: error: variable or field 'set_new_cframe' declared void 266 | void PythonState::set_new_cframe(_PyCFrame& frame) noexcept | ^~~~~~~~~~~ src/greenlet/TPythonState.cpp:266:34: error: '_PyCFrame' was not declared in this scope; did you mean '_frame'? 266 | void PythonState::set_new_cframe(_PyCFrame& frame) noexcept | ^~~~~~~~~ | _frame src/greenlet/TPythonState.cpp:266:45: error: 'frame' was not declared in this scope; did you mean '_frame'? 266 | void PythonState::set_new_cframe(_PyCFrame& frame) noexcept | ^~~~~ | _frame src/greenlet/greenlet.cpp: In function 'PyObject* mod_get_tstate_trash_delete_nesting(PyObject*)': src/greenlet/greenlet.cpp:1340:36: error: 'PyThreadState' {aka 'struct _ts'} has no member named 'trash' 1340 | return PyLong_FromLong(tstate->trash.delete_nesting); | ^~~~~ error: command '/builder/shared-workdir/build/sdk/staging_dir/toolchain-aarch64_cortex-a72_gcc-14.3.0_musl/bin/aarch64-openwrt-linux-musl-g++' failed with exit code 1 ERROR Backend subprocess exited when trying to invoke build_wheel make[3]: *** [Makefile:60: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a72_musl/pypi/greenlet-3.0.2/.built] Error 1 time: package/feeds/packages/python-greenlet/compile#7.38#0.80#8.17