On 8/20/25 18:22, d...@bac.helioho.st wrote:
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.
There was this reply from Stephan:
https://ask.libreoffice.org/t/new-contributor-build-fails-with-unoidl-write-assertion-ent2-is-failed/125543/5
warn:unoidl:646775:646775: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
suggests an issue with a non-case-preserving filesystem (and
https://git.libreoffice.org/core/+/63f1fc40fbed426e702de3d22c4bc487c2fe446c^!
1 “Prevent conflicts on case-preserving file systems” only tried to hack
around that specifically for macOS). If at all possible, I’d suggest you
try to build on a case-sensitive file system.