I am trying to build 10.2 from sources while disabling some plugins (building with all plugins works without issues).
e.g.
[ 98%] Building CXX object extra/mariabackup/CMakeFiles/mariabackup.dir/changed_page_bitmap.cc.o
In file included from /home/tanj/mariadb-10.2/storage/innobase/include/univ.i:83:0,
from /home/tanj/mariadb-10.2/storage/innobase/include/ut0rbt.h:29,
from /home/tanj/mariadb-10.2/extra/mariabackup/changed_page_bitmap.h:28,
from /home/tanj/mariadb-10.2/extra/mariabackup/changed_page_bitmap.cc:25:
/home/tanj/mariadb-10.2/extra/mariabackup/common.h: In function ‘size_t xb_read_full(File, uchar*, size_t)’:
/home/tanj/mariadb-10.2/extra/mariabackup/common.h:162:45: error: ‘MY_WME’ was not declared in this scope
tbytes = my_read(fd, buf, len - tlen, MYF(MY_WME));
^
/home/tanj/mariadb-10.2/include/my_global.h:1025:24: note: in definition of macro ‘MYF’
#define MYF(v) (myf) (v)
^
In file included from /home/tanj/mariadb-10.2/extra/mariabackup/changed_page_bitmap.cc:27:0:
/home/tanj/mariadb-10.2/extra/mariabackup/common.h:162:12: error: ‘my_read’ was not declared in this scope
tbytes = my_read(fd, buf, len - tlen, MYF(MY_WME));
^~~~~~~
/home/tanj/mariadb-10.2/extra/mariabackup/common.h:162:12: note: suggested alternative: ‘my_sha1’
tbytes = my_read(fd, buf, len - tlen, MYF(MY_WME));
^~~~~~~
my_sha1
/home/tanj/mariadb-10.2/extra/mariabackup/common.h:163:32: error: ‘MY_FILE_ERROR’ was not declared in this scope
if (tbytes == 0 || tbytes == MY_FILE_ERROR) {
^~~~~~~~~~~~~
/home/tanj/mariadb-10.2/extra/mariabackup/common.h:163:32: note: suggested alternative: ‘DB_IO_ERROR’
if (tbytes == 0 || tbytes == MY_FILE_ERROR) {
^~~~~~~~~~~~~
DB_IO_ERROR
make[2]: *** [extra/mariabackup/CMakeFiles/mariabackup.dir/build.make:111: extra/mariabackup/CMakeFiles/mariabackup.dir/changed_page_bitmap.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:4270: extra/mariabackup/CMakeFiles/mariabackup.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Built target mysqld
[ 98%] Built target explain_filename-t
make: *** [Makefile:163: all] Error 2
Please advise. Thanks