https://bugs.documentfoundation.org/show_bug.cgi?id=153758

            Bug ID: 153758
           Summary: LibreOffice Online Build is failing
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Hi team,

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.

Steps to Reproduce:
same as description

Actual Results:
Error while compiling the make file, it is expecting 9 arguments, received 8

Expected Results:
docker image should be created successfully.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
We want to use LibreOffice from browser and make it accessible to users.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to