LibreOffice Build is failing

Hi folks,

I followed this documentation link to build libreoffice online

https://wiki.documentfoundation.org/Development/BuildingOnline

Build took almost 5 hours to complete, and created a builddir of 22 GB. Now, on creating the docker image, it is failing with the below error.

make[2]: Entering directory ‘/opt/online/docker/builddir/online’
CXX kit/ChildSession.o
CXX kit/ForKit.o
CXX kit/Kit.o
CXX common/FileUtil.o
CXX common/JailUtil.o
CXX common/Log.o
CXX common/Protocol.o
CXX common/StringVector.o
CXX common/Session.o
CXX common/Seccomp.o
CXX common/MessageQueue.o
In file included from kit/Kit.cpp:69:
./common/RenderTiles.hpp: In function ‘bool RenderTiles::doRender(std::shared_ptrlok::Document, TileCombined&, PngCache&, ThreadPool&, bool, const std::function<void(unsigned char*, int, int, long unsigned int, long unsigned int, int, int, LibreOfficeKitTileMode)>&, const std::function<void(const char*, long unsigned int)>&)’:
./common/RenderTiles.hpp:525:32: error: no matching function for call to ‘lok::Document::paintPartTile(unsigned char*, int, const size_t&, const size_t&, int, int, int, int)’

525 | document->paintPartTile(pixmap.data(),
| ~~~~~~~~~^

526 | tileCombined.getPart(),
| ~~~~~~~~~~~~~~~~~~~~~~~
527 | pixmapWidth, pixmapHeight,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
528 | renderArea.getLeft(), renderArea.getTop(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
529 | renderArea.getWidth(), renderArea.getHeight());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kit/ChildSession.hpp:17,
from kit/Kit.cpp:53:
/opt/online/docker/builddir/libreoffice/include/LibreOfficeKit/LibreOfficeKit.hxx:610:10: note: candidate: ‘void lok::Document::paintPartTile(unsigned char*, int, int, int, int, int, int, int, int)’
610 | void paintPartTile(unsigned char* pBuffer,
| ^~~~~~~~~~~~~
/opt/online/docker/builddir/libreoffice/include/LibreOfficeKit/LibreOfficeKit.hxx:610:10: note: candidate expects 9 arguments, 8 provided
CXX common/MobileApp.o
CXX common/SigUtil.o
CXX common/SpookyV2.o
CXX common/Unit.o
CXX common/Util.o
make[2]: *** [Makefile:1959: kit/Kit.o] Error 1
make[2]: *** Waiting for unfinished jobs…
make[2]: Leaving directory ‘/opt/online/docker/builddir/online’
make[1]: *** [Makefile:3686: all-recursive] Error 1
make[1]: Leaving directory ‘/opt/online/docker/builddir/online’
make: *** [Makefile:1237: all] Error 2

Can someone please help me how to move forward from here, there is no workaround documentation or github issue to refer.

Not many build LO online, even less a docker image, and probably none is active on this Ask site. I’d suggest to try the recommended contact channels like IRC and mailing list, see Developers | LibreOffice - Free Office Suite - Based on OpenOffice - Compatible with Microsoft .