I download Mesa and was trying to compile it:
sh ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
autoreconf: running: /usr/bin/autoconf
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --no-force
src/mesa/Makefile.sources:7: warning: BUILDDIR multiply defined in condition TRUE ...
src/mesa/Makefile.am:63: 'src/mesa/Makefile.sources' included from here
src/mesa/Makefile.am:62: ... 'BUILDDIR' previously defined here
autoreconf: Leaving directory `.'
checking build system type... x86_64-unknown-linux-gnu
xxxxx
xxxxx
checking for DRI3PROTO... yes
checking for PRESENTPROTO... yes
configure: error: DRI3 requires xcb >= 1.9.3
Not sure what is the error here?
I followed the conversation here: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=80848
But still unresolved.
You should try this
sudo apt-get install -y libxcb1-dev
.