python3 recipe failing in Yocto scarthgap branch
I'm building with Yocto project scarthgap branch. The python3 is failing intermittently due to this same error : https://github.com/python/cpython/issues/118505
As per the above forum, I upgraded my ncurses recipe to version 6.5 (which is available in the master branch of poky - https://git.yoctoproject.org/poky/tree/meta/recipes-core/ncurses?h=master )
However the error continues intermittently.
./Modules/_cursesmodule.c: In function _curses_window_addch_impl:./Modules/_cursesmodule.c:763:9: error: implicit declaration of function setcchar; did you mean getwchar ? [-Werror=implicit-function-declaration]
763 | setcchar(&wcval, wstr, attr, PAIR_NUMBER(attr), NULL);
| ^~~~~~~~
| getwchar
./Modules/_cursesmodule.c:765:19: error: implicit declaration of function mvwadd_wch; did you mean mvwad dch? [-Werror=implicit-function-declaration]
765 | rtn = mvwadd_wch(self->win,y,x, &wcval);
| ^~~~~~~~~~
| mvwaddch
./Modules/_cursesmodule.c:767:19: error: implicit declaration of function wadd_wch; did you mean waddch? [-Werror=implicit-function-declaration]
767 | rtn = wadd_wch(self->win, &wcval);
| ^~~~~~~~
| waddch
./Modules/_cursesmodule.c: In function _curses_window_addstr_impl:
1394 ./Modules/_cursesmodule.c:847:19: error: implicit declaration of function mvwaddwstr; did you mean mvwad dstr? [-Werror=implicit-function-declaration]
847 | rtn = mvwaddwstr(self->win,y,x,wstr);
| ^~~~~~~~~~
| mvwaddstr
4 ./Modules/_cursesmodule.c:849:19: error: implicit declaration of function waddwstr; did you mean waddstr ? [-Werror=implicit-function-declaration]
849 | rtn = waddwstr(self->win,wstr);
| ^~~~~~~~
| waddstr
./Modules/_cursesmodule.c: In function _curses_window_addnstr_impl:
./Modules/_cursesmodule.c:930:19: error: implicit declaration of function mvwaddnwstr; did you mean mvwa ddnstr? [-Werror=implicit-function-declaration]
930 | rtn = mvwaddnwstr(self->win,y,x,wstr,n);
| ^~~~~~~~~~~
| mvwaddnstr
./Modules/_cursesmodule.c:932:19: error: implicit declaration of function waddnwstr; did you mean waddns tr? [-Werror=implicit-function-declaration]
932 | rtn = waddnwstr(self->win,wstr,n);
| ^~~~~~~~~
| waddnstrAny fixes or work arounds for this issue?
#yocto #scarthgap #ncurses
Thanks!