Hi everyone,

I'm new to LibreOffice and I'm trying to build the latest master branch of 
LibreOffice on a fresh installation of Ubuntu 24.04. I have carefully followed 
the instructions on the wiki page:
https://wiki.documentfoundation.org/Development/BuildingOnLinux

I ran ./autogen.sh which completed successfully. However, the make command 
fails with an error related to unoidl-write.

Here is the key error message from the build log:

$ make 2>&1 | tee make.log
sh -c "/mnt/nas1/dev/libreoffice/autogen.sh"
Running './configure --without-doxygen --srcdir=/mnt/nas1/dev/libreoffice 
--enable-option-checking=fatal'
...
warn:unoidl:47743:47743:unoidl/source/sourcetreeprovider.cxx:303: 
<file:///mnt/nas1/dev/libreoffice/offapi/com/sun/star/text/textfield.idl> does 
not define entity com.sun.star.text.textfield
unoidl-write: /mnt/nas1/dev/libreoffice/unoidl/source/unoidl-write.cxx:398: 
void {anonymous}::mapEntities(const rtl::Reference<unoidl::Manager>&, const 
rtl::OUString&, std::__debug::map<rtl::OUString, Item>&): Assertion `ent2.is()' 
failed.
Aborted (core dumped)
make[1]: *** 
[/mnt/nas1/dev/libreoffice/solenv/gbuild/UnoApiTarget.mk:48:/mnt/nas1/dev/libreoffice/workdir/UnoApiTarget/offapi.rdb]
 Error 134
make: *** [Makefile:301:build] Error 2

It seems the unoidl-write tool is unable to find a specific entity 
(com.sun.star.text.textfield) and this causes an assertion to fail, aborting 
the build.

Since this is a clean environment set up according to the official guide, I'm 
not sure what could be causing this. I have attached the full make.log file 
(generated by make 2>&1 | tee make.log) to this email for complete details of 
the configuration and build process.

Could anyone offer some advice on how to resolve this? Any help would be 
greatly appreciated.

Thank you,
Bacx

Reply via email to