Hello! In https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972564 I reported a mariadb-10.5 build failure but it might be caused by the compiler and be a gcc-10 + libnuma-dev bug.
Do you want to check it out and perhaps take over the bug if it is a gcc-10 issue?