Hi all,

since yesterday I get a build break within the Python module of LibreOffice. I tested this again with a fresh git clone from Gerrit, but there is no difference. The build breaks again.

My autogen.input looks like this:
--without-system-nss
--disable-skia
CC=gcc-12
CXX=g++-12
--enable-python=fully-internal


Here the messages in the shell (last part):


/usr/bin/ccache gcc-12 -I/home/test/libogitrepos/libreoffice-neu/workdir/UnpackedTarball/bzip2 -I/home/test/libogitrepos/libreoffice-neu/workdir/UnpackedTarball/expat/lib  -fno-strict -overflow -Wsign-compare -DNDEBUG -g -O3 -Wall    -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibili ty=hidden  -I./Include/internal  -I. -I./Include   -fPIC -fPIC -c ./Modules/_cursesmodule.c -o Modules/_cursesmodule.o
./Modules/_cursesmodule.c: In function ‘_curses_window_addch_impl’:
./Modules/_cursesmodule.c:764:9: error: implicit declaration of function ‘setcchar’; did you mean ‘getwchar’? [-Werror=implicit-function-declaration]
 764 |         setcchar(&wcval, wstr, attr, PAIR_NUMBER(attr), NULL);
     |         ^~~~~~~~
     |         getwchar
./Modules/_cursesmodule.c:766:19: error: implicit declaration of function ‘mvwadd_wch’; did you mean ‘mvwaddch’? [-Werror=implicit-function-declaration]
 766 |             rtn = mvwadd_wch(self->win,y,x, &wcval);
     |                   ^~~~~~~~~~
     |                   mvwaddch
./Modules/_cursesmodule.c:768:19: error: implicit declaration of function ‘wadd_wch’; did you mean ‘waddch’? [-Werror=implicit-function-declaration]
 768 |             rtn = wadd_wch(self->win, &wcval);
     |                   ^~~~~~~~
     |                   waddch
./Modules/_cursesmodule.c: In function ‘_curses_window_addstr_impl’:
./Modules/_cursesmodule.c:848:19: error: implicit declaration of function ‘mvwaddwstr’; did you mean ‘mvwaddstr’? [-Werror=implicit-function-declaration]
 848 |             rtn = mvwaddwstr(self->win,y,x,wstr);
     |                   ^~~~~~~~~~
     |                   mvwaddstr
./Modules/_cursesmodule.c:850:19: error: implicit declaration of function ‘waddwstr’; did you mean ‘waddstr’? [-Werror=implicit-function-declaration]
 850 |             rtn = waddwstr(self->win,wstr);
     |                   ^~~~~~~~
     |                   waddstr
./Modules/_cursesmodule.c: In function ‘_curses_window_addnstr_impl’:
./Modules/_cursesmodule.c:931:19: error: implicit declaration of function ‘mvwaddnwstr’; did you mean ‘mvwaddnstr’? [-Werror=implicit-function-declaration]
 931 |             rtn = mvwaddnwstr(self->win,y,x,wstr,n);
     |                   ^~~~~~~~~~~
     |                   mvwaddnstr
./Modules/_cursesmodule.c:933:19: error: implicit declaration of function ‘waddnwstr’; did you mean ‘waddnstr’? [-Werror=implicit-function-declaration]
 933 |             rtn = waddnwstr(self->win,wstr,n);
     |                   ^~~~~~~~~
     |                   waddnstr
./Modules/_cursesmodule.c: In function ‘_curses_window_get_wch_impl’:
./Modules/_cursesmodule.c:1504:14: error: implicit declaration of function ‘wget_wch’; did you mean ‘wgetch’? [-Werror=implicit-function-declaration]
1504 |         ct = wget_wch(self->win ,&rtn);
     |              ^~~~~~~~
     |              wgetch
./Modules/_cursesmodule.c:1507:14: error: implicit declaration of function ‘mvwget_wch’; did you mean ‘mvwgetch’? [-Werror=implicit-function-declaration]
1507 |         ct = mvwget_wch(self->win, y, x, &rtn);
     |              ^~~~~~~~~~
     |              mvwgetch
./Modules/_cursesmodule.c: In function ‘_curses_window_insstr_impl’:
./Modules/_cursesmodule.c:1849:19: error: implicit declaration of function ‘mvwins_wstr’; did you mean ‘mvwinsstr’? [-Werror=implicit-function-declaration]
1849 |             rtn = mvwins_wstr(self->win,y,x,wstr);
     |                   ^~~~~~~~~~~
     |                   mvwinsstr
./Modules/_cursesmodule.c:1851:19: error: implicit declaration of function ‘wins_wstr’; did you mean ‘winsstr’? [-Werror=implicit-function-declaration]
1851 |             rtn = wins_wstr(self->win,wstr);
     |                   ^~~~~~~~~
     |                   winsstr
./Modules/_cursesmodule.c: In function ‘_curses_window_insnstr_impl’:
./Modules/_cursesmodule.c:1934:19: error: implicit declaration of function ‘mvwins_nwstr’; did you mean ‘mvwinsnstr’? [-Werror=implicit-function-declaration]
1934 |             rtn = mvwins_nwstr(self->win,y,x,wstr,n);
     |                   ^~~~~~~~~~~~
     |                   mvwinsnstr
./Modules/_cursesmodule.c:1936:19: error: implicit declaration of function ‘wins_nwstr’; did you mean ‘winsnstr’? [-Werror=implicit-function-declaration]
1936 |             rtn = wins_nwstr(self->win,wstr,n);
     |                   ^~~~~~~~~~
     |                   winsnstr
./Modules/_cursesmodule.c: In function ‘_curses_unget_wch’:
./Modules/_cursesmodule.c:4502:29: error: implicit declaration of function ‘unget_wch’; did you mean ‘ungetch’? [-Werror=implicit-function-declaration]
4502 |     return PyCursesCheckERR(unget_wch(wch), "unget_wch");
     |                             ^~~~~~~~~
     |                             ungetch
cc1: some warnings being treated as errors
make[2]: *** [Makefile:3123: Modules/_cursesmodule.o] Fehler 1
make[2]: Verzeichnis „/home/test/libogitrepos/libreoffice-neu/workdir/UnpackedTarball/python3“ wird verlassen make[1]: *** [/home/test/libogitrepos/libreoffice-neu/external/python3/ExternalProject_python3.mk:85: /home/test/libogitrepos/libreoffice-neu/workdir/ExternalProject/python3/build] Fe
hler 1

---------- End of messages in the shell -----------------


A build with the system Python is not possible. There is an incompatibility with meson. I use OpenSuSE 15.6.

Anyone else running into this issue?

Regards,
Andreas


--
## Free Software Advocate
## My blog:http://www.amantke.de/blog

Reply via email to