Source: micropython Version: 1.19.1+ds-1 Severity: serious Tags: ftbfs https://buildd.debian.org/status/fetch.php?pkg=micropython&arch=riscv64&ver=1.19.1%2Bds-1&stamp=1691093977&raw=0
... ../py/stackctrl.c: In function ‘mp_stack_ctrl_init’: ../py/stackctrl.c:32:32: error: storing the address of local variable ‘stack_dummy’ in ‘mp_state_ctx.thread.stack_top’ [-Werror=dangling-pointer=] 32 | MP_STATE_THREAD(stack_top) = (char *)&stack_dummy; ../py/stackctrl.c:31:18: note: ‘stack_dummy’ declared here 31 | volatile int stack_dummy; | ^~~~~~~~~~~ In file included from ../py/runtime.h:29, from ../py/stackctrl.c:27: ../py/mpstate.h:323:23: note: ‘mp_state_ctx’ declared here 323 | extern mp_state_ctx_t mp_state_ctx; | ^~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [../py/mkrules.mk:80: build/py/stackctrl.o] Error 1 micropython builds with the following two fixes: https://github.com/micropython/micropython/commit/f1c6cb7725960487195daa5c5c196fd8d3563811 https://github.com/micropython/micropython/commit/32572439984e5640c6af46fbe7c27400c30112ce