pyboy/core/opcodes.py:5292:10: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... def SET_1FE(cpu): # 1FE SET 7,(HL) cpu.cycles += 4 t = cpu.mb.getitem(cpu.HL) | (1 << 7) cpu.cycles += 4 cpu.mb.setitem(cpu.HL, t) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5292:18: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... def SET_1FE(cpu): # 1FE SET 7,(HL) cpu.cycles += 4 t = cpu.mb.getitem(cpu.HL) | (1 << 7) cpu.cycles += 4 cpu.mb.setitem(cpu.HL, t) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5292:22: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... def SET_1FE(cpu): # 1FE SET 7,(HL) cpu.cycles += 4 t = cpu.mb.getitem(cpu.HL) | (1 << 7) cpu.cycles += 4 cpu.mb.setitem(cpu.HL, t) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5292:27: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... oplen = OPCODE_LENGTHS[opcode] v = 0 pc = cpu.PC if oplen == 2: # 8-bit immediate v = cpu.mb.getitem(pc+1) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5317:26: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... oplen = OPCODE_LENGTHS[opcode] v = 0 pc = cpu.PC if oplen == 2: # 8-bit immediate v = cpu.mb.getitem(pc+1) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5317:26: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... oplen = OPCODE_LENGTHS[opcode] v = 0 pc = cpu.PC if oplen == 2: # 8-bit immediate v = cpu.mb.getitem(pc+1) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5317:18: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... oplen = OPCODE_LENGTHS[opcode] v = 0 pc = cpu.PC if oplen == 2: # 8-bit immediate v = cpu.mb.getitem(pc+1) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5317:26: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... oplen = OPCODE_LENGTHS[opcode] v = 0 pc = cpu.PC if oplen == 2: # 8-bit immediate v = cpu.mb.getitem(pc+1) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5317:29: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # 8-bit immediate v = cpu.mb.getitem(pc+1) elif oplen == 3: # 16-bit immediate # Flips order of values due to big-endian a = cpu.mb.getitem(pc+2) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5321:26: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... # 8-bit immediate v = cpu.mb.getitem(pc+1) elif oplen == 3: # 16-bit immediate # Flips order of values due to big-endian a = cpu.mb.getitem(pc+2) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5321:26: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # 8-bit immediate v = cpu.mb.getitem(pc+1) elif oplen == 3: # 16-bit immediate # Flips order of values due to big-endian a = cpu.mb.getitem(pc+2) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5321:18: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # 8-bit immediate v = cpu.mb.getitem(pc+1) elif oplen == 3: # 16-bit immediate # Flips order of values due to big-endian a = cpu.mb.getitem(pc+2) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5321:26: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... # 8-bit immediate v = cpu.mb.getitem(pc+1) elif oplen == 3: # 16-bit immediate # Flips order of values due to big-endian a = cpu.mb.getitem(pc+2) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5321:29: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... v = cpu.mb.getitem(pc+1) elif oplen == 3: # 16-bit immediate # Flips order of values due to big-endian a = cpu.mb.getitem(pc+2) b = cpu.mb.getitem(pc+1) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5322:26: Coercion from Python not allowed without the GIL Error compiling Cython file: ------------------------------------------------------------ ... v = cpu.mb.getitem(pc+1) elif oplen == 3: # 16-bit immediate # Flips order of values due to big-endian a = cpu.mb.getitem(pc+2) b = cpu.mb.getitem(pc+1) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5322:26: Calling gil-requiring function not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... v = cpu.mb.getitem(pc+1) elif oplen == 3: # 16-bit immediate # Flips order of values due to big-endian a = cpu.mb.getitem(pc+2) b = cpu.mb.getitem(pc+1) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5322:18: Accessing Python attribute not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... v = cpu.mb.getitem(pc+1) elif oplen == 3: # 16-bit immediate # Flips order of values due to big-endian a = cpu.mb.getitem(pc+2) b = cpu.mb.getitem(pc+1) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5322:26: Constructing Python tuple not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... v = cpu.mb.getitem(pc+1) elif oplen == 3: # 16-bit immediate # Flips order of values due to big-endian a = cpu.mb.getitem(pc+2) b = cpu.mb.getitem(pc+1) ^ ------------------------------------------------------------ pyboy/core/opcodes.py:5322:29: Converting to Python object not allowed without gil Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/core/opcodes.py [17/27] Cythonizing pyboy/plugins/game_wrapper_super_mario_land.py Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/game_wrapper_kirby_dream_land.py [18/27] Cythonizing pyboy/plugins/game_wrapper_tetris.py Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/game_wrapper_pokemon_gen1.py [19/27] Cythonizing pyboy/plugins/manager.py Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/game_wrapper_tetris.py [20/27] Cythonizing pyboy/plugins/record_replay.py Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/game_wrapper_pokemon_pinball.py [21/27] Cythonizing pyboy/plugins/rewind.py Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/game_wrapper_super_mario_land.py [22/27] Cythonizing pyboy/plugins/screen_recorder.py Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/manager.py [23/27] Cythonizing pyboy/plugins/screenshot_recorder.py Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/record_replay.py [24/27] Cythonizing pyboy/plugins/window_null.py Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Error compiling Cython file: ------------------------------------------------------------ ... logger.error("Screen recording failed: no frames") self.frames = [] def enabled(self): if Image is None: logger.warning('%s: Missing dependency "Pillow". Recording disabled', __name__) ^ ------------------------------------------------------------ pyboy/plugins/screen_recorder.py:77:26: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(screen_recorder.py:6:0) StatListNode.stats[8] = StatListNode(screen_recorder.py:23:0) StatListNode.stats[0] = CClassDefNode(screen_recorder.py:23:0, class_name = 'ScreenRecorder', visibility = 'private') CClassDefNode.body = StatListNode(screen_recorder.py:24:4) StatListNode.stats[7] = CFuncDefNode(screen_recorder.py:75:4, args = [...]/1, is_c_class_method = 1, modifiers = [...]/0, overridable = 1, visibility = 'private') File 'Nodes.py', line 435, in analyse_expressions: StatListNode(screen_recorder.py:75:4, is_terminator = True) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(screen_recorder.py:76:8, is_terminator = True) File 'Nodes.py', line 6270, in analyse_expressions: IfStatNode(screen_recorder.py:76:8) File 'Nodes.py', line 6336, in analyse_expressions: IfClauseNode(screen_recorder.py:76:11, is_terminator = True) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(screen_recorder.py:77:12, is_terminator = True) File 'Nodes.py', line 5145, in analyse_expressions: ExprStatNode(screen_recorder.py:77:26) File 'ExprNodes.py', line 587, in analyse_expressions: SimpleCallNode(screen_recorder.py:77:26, analysed = True, use_managed_ref = True) File 'ExprNodes.py', line 5588, in analyse_types: SimpleCallNode(screen_recorder.py:77:26, analysed = True, use_managed_ref = True) File 'ExprNodes.py', line 5740, in analyse_c_function_call: SimpleCallNode(screen_recorder.py:77:26, analysed = True, use_managed_ref = True) Compiler crash traceback from this point on: File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Compiler/ExprNodes.py", line 5740, in analyse_c_function_call error(self.args[i].pos, ~~~~~~~~~^^^ IndexError: list index out of range Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/screen_recorder.py [25/27] Cythonizing pyboy/plugins/window_open_gl.py Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/rewind.py [26/27] Cythonizing pyboy/plugins/window_sdl2.py Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Error compiling Cython file: ------------------------------------------------------------ ... logger.info("Screenshot saved in {}".format(path)) def enabled(self): if Image is None: logger.warning('%s: Missing dependency "Pillow". Screenshots disabled', __name__) ^ ------------------------------------------------------------ pyboy/plugins/screenshot_recorder.py:44:26: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(screenshot_recorder.py:6:0) StatListNode.stats[8] = StatListNode(screenshot_recorder.py:23:0) StatListNode.stats[0] = CClassDefNode(screenshot_recorder.py:23:0, class_name = 'ScreenshotRecorder', visibility = 'private') CClassDefNode.body = StatListNode(screenshot_recorder.py:24:4) StatListNode.stats[3] = CFuncDefNode(screenshot_recorder.py:42:4, args = [...]/1, is_c_class_method = 1, modifiers = [...]/0, overridable = 1, visibility = 'private') File 'Nodes.py', line 435, in analyse_expressions: StatListNode(screenshot_recorder.py:42:4, is_terminator = True) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(screenshot_recorder.py:43:8, is_terminator = True) File 'Nodes.py', line 6270, in analyse_expressions: IfStatNode(screenshot_recorder.py:43:8) File 'Nodes.py', line 6336, in analyse_expressions: IfClauseNode(screenshot_recorder.py:43:11, is_terminator = True) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(screenshot_recorder.py:44:12, is_terminator = True) File 'Nodes.py', line 5145, in analyse_expressions: ExprStatNode(screenshot_recorder.py:44:26) File 'ExprNodes.py', line 587, in analyse_expressions: SimpleCallNode(screenshot_recorder.py:44:26, analysed = True, use_managed_ref = True) File 'ExprNodes.py', line 5588, in analyse_types: SimpleCallNode(screenshot_recorder.py:44:26, analysed = True, use_managed_ref = True) File 'ExprNodes.py', line 5740, in analyse_c_function_call: SimpleCallNode(screenshot_recorder.py:44:26, analysed = True, use_managed_ref = True) Compiler crash traceback from this point on: File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Compiler/ExprNodes.py", line 5740, in analyse_c_function_call error(self.args[i].pos, ~~~~~~~~~^^^ IndexError: list index out of range Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/screenshot_recorder.py [27/27] Cythonizing pyboy/pyboy.py Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Error compiling Cython file: ------------------------------------------------------------ ... sdl2.SDL_PauseAudioDevice(self.sound_device, 0) self.sound_paused = False else: self.sound_support = False logger.warning("SDL_OpenAudioDevice failed: %s", sdl2.SDL_GetError().decode()) ^ ------------------------------------------------------------ pyboy/plugins/window_sdl2.py:219:34: Compiler crash in AnalyseExpressionsTransform ModuleNode.body = StatListNode(window_sdl2.py:6:0) StatListNode.stats[14] = StatListNode(window_sdl2.py:159:0) StatListNode.stats[0] = CClassDefNode(window_sdl2.py:159:0, class_name = 'WindowSDL2', visibility = 'private') CClassDefNode.body = StatListNode(window_sdl2.py:160:4) StatListNode.stats[1] = CFuncDefNode(window_sdl2.py:191:4, args = [...]/2, is_c_class_method = 1, modifiers = [...]/0, visibility = 'private') File 'Nodes.py', line 435, in analyse_expressions: StatListNode(window_sdl2.py:192:8) File 'Nodes.py', line 6270, in analyse_expressions: IfStatNode(window_sdl2.py:192:8) File 'Nodes.py', line 6336, in analyse_expressions: IfClauseNode(window_sdl2.py:192:11) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(window_sdl2.py:193:12) File 'Nodes.py', line 6270, in analyse_expressions: IfStatNode(window_sdl2.py:193:12) File 'Nodes.py', line 6336, in analyse_expressions: IfClauseNode(window_sdl2.py:193:15) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(window_sdl2.py:195:16) File 'Nodes.py', line 6272, in analyse_expressions: IfStatNode(window_sdl2.py:199:16) File 'Nodes.py', line 435, in analyse_expressions: StatListNode(window_sdl2.py:218:20) File 'Nodes.py', line 5145, in analyse_expressions: ExprStatNode(window_sdl2.py:219:34) File 'ExprNodes.py', line 587, in analyse_expressions: SimpleCallNode(window_sdl2.py:219:34, analysed = True, use_managed_ref = True) File 'ExprNodes.py', line 5588, in analyse_types: SimpleCallNode(window_sdl2.py:219:34, analysed = True, use_managed_ref = True) File 'ExprNodes.py', line 5740, in analyse_c_function_call: SimpleCallNode(window_sdl2.py:219:34, analysed = True, use_managed_ref = True) Compiler crash traceback from this point on: File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Compiler/ExprNodes.py", line 5740, in analyse_c_function_call error(self.args[i].pos, ~~~~~~~~~^^^ IndexError: list index out of range Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/window_sdl2.py Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/window_null.py Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/plugins/window_open_gl.py Error compiling Cython file: ------------------------------------------------------------ ... cdef bint breakpoint_singlestep cdef bint breakpoint_singlestep_latch cdef int64_t breakpoint_waiting cdef int64_t breakpoint_add(self, int64_t, int64_t) except -1 with gil cdef int64_t breakpoint_remove(self, int64_t, int64_t) except -1 with gil cdef inline tuple[int64_t, int64_t, int64_t] breakpoint_reached(self) noexcept with gil ^ ------------------------------------------------------------ pyboy/core/mb.pxd:58:47: Too many buffer options Error compiling Cython file: ------------------------------------------------------------ ... self.mb.breakpoint_remove(bank, addr) bank_addr_opcode = (bank & 0xFF) << 24 | (addr & 0xFFFF) << 8 | (opcode & 0xFF) self._hooks.pop(bank_addr_opcode) def _handle_hooks(self): if _handler := self._hooks.get(self.mb.breakpoint_waiting): ^ ------------------------------------------------------------ pyboy/pyboy.py:1284:21: Expected an identifier or literal Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/pyboy.py multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ^^^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/multiprocessing/pool.py", line 48, in mapstar return list(map(*args)) ^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1262, in cythonize_one_helper return cythonize_one(*m) ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pyboy/api/sound.py """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/pyboy/arm64-v8a__ndk_target_21/pyboy/setup.py", line 117, in setup( File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/distutils/core.py", line 148, in setup dist.run_commands() File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/distutils/dist.py", line 983, in run_command cmd_obj = self.get_command_obj(command) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/distutils/dist.py", line 858, in get_command_obj cmd_obj = self.command_obj[command] = klass(self) ^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/__init__.py", line 172, in __init__ _Command.__init__(self, dist) File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/distutils/cmd.py", line 62, in __init__ self.initialize_options() File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/pyboy/arm64-v8a__ndk_target_21/pyboy/setup.py", line 76, in initialize_options self.distribution.ext_modules = cythonize( ^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1106, in cythonize result.get(99999) # seconds ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/multiprocessing/pool.py", line 774, in get raise self._value Cython.Compiler.Errors.CompileError: pyboy/api/sound.py STDERR: [INFO]: STDOUT (last 20 lines of 16487): self.run_command(cmd) File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/distutils/dist.py", line 983, in run_command cmd_obj = self.get_command_obj(command) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/distutils/dist.py", line 858, in get_command_obj cmd_obj = self.command_obj[command] = klass(self) ^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/setuptools/__init__.py", line 172, in __init__ _Command.__init__(self, dist) File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/distutils/cmd.py", line 62, in __init__ self.initialize_options() File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/pyboy/arm64-v8a__ndk_target_21/pyboy/setup.py", line 76, in initialize_options self.distribution.ext_modules = cythonize( ^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/Cython/Build/Dependencies.py", line 1106, in cythonize result.get(99999) # seconds ^^^^^^^^^^^^^^^^^ File "/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/Lib/multiprocessing/pool.py", line 774, in get raise self._value Cython.Compiler.Errors.CompileError: pyboy/api/sound.py [INFO]: STDERR: [INFO]: ENV: export HOME='/home/sergio' export CFLAGS='-target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -I/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Include' export CXXFLAGS='-target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC' export CPPFLAGS='-DANDROID -I/home/sergio/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -I/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/python-installs/myapp/arm64-v8a/include/python3.1' export LDFLAGS=' -L/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/libs_collections/myapp/arm64-v8a -L/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build -lpython3.11 -L/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/libs_collections/myapp/arm64-v8a -L/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/libs_collections/myapp -L/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/bootstrap_builds/sdl2/obj/local/arm64-v8a ' export LDLIBS='-lm' export PATH='/home/sergio/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin:/home/sergio/.buildozer/android/platform/android-ndk-r25b:/home/sergio/.buildozer/android/platform/android-sdk/tools:/home/sergio/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/sergio/work/Linked_crystal_monorepo/.venv/bin:/home/sergio/.local/bin:/home/sergio/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/sergio/.vscode-oss/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/scripts/noConfigScripts' export CC='/home/sergio/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC' export CXX='/home/sergio/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC' export AR='/home/sergio/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar' export RANLIB='/home/sergio/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib' export STRIP='/home/sergio/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-unneeded' export READELF='/home/sergio/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readelf' export OBJCOPY='/home/sergio/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-objcopy' export MAKE='make -j4' export ARCH='arm64-v8a' export NDK_API='android-21' export LDSHARED='/home/sergio/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target aarch64-linux-android21 -fomit-frame-pointer -march=armv8-a -fPIC -shared' export BUILDLIB_PATH='/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/build/lib.linux-x86_64-3.11' export PYTHONNOUSERSITE='1' export LANG='en_GB.UTF-8' export PYTHONPATH='/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib:/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages:/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/build/lib.linux-x86_64-3.11:/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/build/scripts-3.11:/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/build/temp.linux-x86_64-3.11' export LIBLINK='NOTNONE' export COPYLIBS='1' export LIBLINK_PATH='/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/pyboy/arm64-v8a__ndk_target_21/objects_pyboy' [INFO]: COMMAND: cd /home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/pyboy/arm64-v8a__ndk_target_21/pyboy && /home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 setup.py build_ext -v [WARNING]: ERROR: /home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 failed! # Command failed: ['/home/sergio/work/Linked_crystal_monorepo/.venv/bin/python', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=myapp', '--bootstrap=sdl2', '--requirements=python3,kivy,plyer,setuptools,pillow,cython,pyboy', '--arch=arm64-v8a', '--copy-libs', '--local-recipes', '/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/recipes', '--color=always', '--storage-dir=/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder/.buildozer/android/platform/build-arm64-v8a', '--ndk-api=21', '--ignore-setup-py', '--debug'] # ENVIRONMENT: # SHELL = '/bin/bash' # SESSION_MANAGER = 'local/portatil:@/tmp/.ICE-unix/1835,unix/portatil:/tmp/.ICE-unix/1835' # QT_ACCESSIBILITY = '1' # COLORTERM = 'truecolor' # XDG_CONFIG_DIRS = '/home/sergio/.config/kdedefaults:/etc/xdg/xdg-plasma:/etc/xdg' # VSCODE_DEBUGPY_ADAPTER_ENDPOINTS = '/home/sergio/.vscode-oss/extensions/ms-python.debugpy-2025.6.0-linux-x64/.noConfigDebugAdapterEndpoints/endpoint-79c3425034c8a7c7.txt' # XDG_SESSION_PATH = '/org/freedesktop/DisplayManager/Session1' # TERM_PROGRAM_VERSION = '1.103.05312' # ICEAUTHORITY = '/run/user/1000/iceauth_OlntWv' # LANGUAGE = '' # SSH_AUTH_SOCK = '/tmp/ssh-i1vGLcnmzUMI/agent.1731' # MEMORY_PRESSURE_WRITE = 'c29tZSAyMDAwMDAgMjAwMDAwMAA=' # PYDEVD_DISABLE_FILE_VALIDATION = '1' # DESKTOP_SESSION = 'plasma' # SSH_AGENT_PID = '1773' # GTK_RC_FILES = '/etc/gtk/gtkrc:/home/sergio/.gtkrc:/home/sergio/.config/gtkrc' # XCURSOR_SIZE = '24' # XDG_SEAT = 'seat0' # PWD = '/home/sergio/work/Linked_crystal_monorepo/packages/app/APKbuilder' # XDG_SESSION_DESKTOP = 'KDE' # LOGNAME = 'sergio' # XDG_SESSION_TYPE = 'x11' # GPG_AGENT_INFO = '/run/user/1000/gnupg/S.gpg-agent:0:1' # SYSTEMD_EXEC_PID = '1878' # BUNDLED_DEBUGPY_PATH = '/home/sergio/.vscode-oss/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/libs/debugpy' # XAUTHORITY = '/tmp/xauth_Twqtla' # VSCODE_GIT_ASKPASS_NODE = '/usr/share/codium/codium' # GTK2_RC_FILES = '/etc/gtk-2.0/gtkrc:/home/sergio/.gtkrc-2.0:/home/sergio/.config/gtkrc-2.0' # HOME = '/home/sergio' # LANG = 'es_ES.UTF-8' # LS_COLORS = 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:' # XDG_CURRENT_DESKTOP = 'KDE' # VIRTUAL_ENV = '/home/sergio/work/Linked_crystal_monorepo/.venv' # MEMORY_PRESSURE_WATCH = '/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure' # SBX_CHROME_API_RQ = '1' # GIT_ASKPASS = '/usr/share/codium/resources/app/extensions/git/dist/askpass.sh' # XDG_SEAT_PATH = '/org/freedesktop/DisplayManager/Seat0' # INVOCATION_ID = '9c82c91ec4ff49cc8a82c37a76943845' # QTWEBENGINE_DICTIONARIES_PATH = '/usr/share/hunspell-bdic/' # MANAGERPID = '1691' # CHROME_DESKTOP = 'codium.desktop' # KDE_SESSION_UID = '1000' # VSCODE_GIT_ASKPASS_EXTRA_ARGS = '' # LESSCLOSE = '/usr/bin/lesspipe %s %s' # XDG_SESSION_CLASS = 'user' # TERM = 'xterm-256color' # LESSOPEN = '| /usr/bin/lesspipe %s' # USER = 'sergio' # VSCODE_GIT_IPC_HANDLE = '/run/user/1000/vscode-git-726bf4cde8.sock' # KDE_SESSION_VERSION = '5' # PAM_KWALLET5_LOGIN = '/run/user/1000/kwallet5.socket' # DISPLAY = ':0' # SHLVL = '1' # GSM_SKIP_SSH_AGENT_WORKAROUND = 'true' # XDG_VTNR = '2' # XDG_SESSION_ID = '3' # VIRTUAL_ENV_PROMPT = '(.venv) ' # XDG_RUNTIME_DIR = '/run/user/1000' # PS1 = ('\\[\x1b]633;A\x07\\](.venv) \\[\x1b]633;A\x07\\]\\[\\e]0;\\u@\\h: ' '\\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ' '\\[\x1b]633;B\x07\\]\\[\x1b]633;B\x07\\]') # DEBUGINFOD_URLS = 'https://debuginfod.ubuntu.com ' # VSCODE_GIT_ASKPASS_MAIN = '/usr/share/codium/resources/app/extensions/git/dist/askpass-main.js' # QT_AUTO_SCREEN_SCALE_FACTOR = '0' # JOURNAL_STREAM = '8:14105' # XCURSOR_THEME = 'breeze_cursors' # XDG_DATA_DIRS = '/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop' # GDK_BACKEND = 'x11' # KDE_FULL_SESSION = 'true' # PATH = '/home/sergio/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/sergio/work/Linked_crystal_monorepo/.venv/bin:/home/sergio/.local/bin:/home/sergio/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/sergio/.vscode-oss/extensions/ms-python.debugpy-2025.6.0-linux-x64/bundled/scripts/noConfigScripts' # ORIGINAL_XDG_CURRENT_DESKTOP = 'KDE' # DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus' # KDE_APPLICATIONS_AS_SCOPE = '1' # TERM_PROGRAM = 'vscode' # OLDPWD = '/home/sergio/work/Linked_crystal_monorepo/packages/app' # _ = '/home/sergio/work/Linked_crystal_monorepo/.venv/bin/buildozer' # PACKAGES_PATH = '/home/sergio/.buildozer/android/packages' # ANDROIDSDK = '/home/sergio/.buildozer/android/platform/android-sdk' # ANDROIDNDK = '/home/sergio/.buildozer/android/platform/android-ndk-r25b' # ANDROIDAPI = '31' # ANDROIDMINAPI = '21' # # Buildozer failed to execute the last command # The error might be hidden in the log above this error # Please read the full log, and search for it before # raising an issue with buildozer itself. # In case of a bug report, please add a full log with log_level = 2