<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi everyone,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt;">
<span style="color: rgb(0, 0, 0);">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:</span></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
https://wiki.documentfoundation.org/Development/BuildingOnLinux</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I ran <span style="font-family: Consolas, Courier, monospace;">./autogen.sh</span> which completed successfully. However, the
<span style="font-family: Consolas, Courier, monospace;">make</span> command fails with an error related to unoidl-write.</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Here is the key error message from the build log:</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="margin-left: 40px; font-family: Consolas, Courier, monospace; font-size: 12pt; color: rgb(0, 0, 0);">
$ make 2>&1 | tee make.log</div>
<div style="margin-left: 40px; font-family: Consolas, Courier, monospace; font-size: 12pt; color: rgb(0, 0, 0);">
sh -c "/mnt/nas1/dev/libreoffice/autogen.sh"<br>
Running './configure --without-doxygen --srcdir=/mnt/nas1/dev/libreoffice --enable-option-checking=fatal'</div>
<div style="margin-left: 40px; font-family: Consolas, Courier, monospace; font-size: 12pt; color: rgb(0, 0, 0);">
...</div>
<div style="margin-left: 40px; font-family: Consolas, Courier, monospace; font-size: 12pt; color: rgb(0, 0, 0);">
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</div>
<div style="margin-left: 40px; font-family: Consolas, Courier, monospace; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="margin-left: 40px; font-family: Consolas, Courier, monospace; font-size: 12pt; color: rgb(0, 0, 0);">
Aborted (core dumped)</div>
<div style="margin-left: 40px; font-family: Consolas, Courier, monospace; font-size: 12pt; color: rgb(0, 0, 0);">
make[1]: *** [/mnt/nas1/dev/libreoffice/solenv/gbuild/UnoApiTarget.mk:48:/mnt/nas1/dev/libreoffice/workdir/UnoApiTarget/offapi.rdb] Error 134</div>
<div style="margin-left: 40px; font-family: Consolas, Courier, monospace; font-size: 12pt; color: rgb(0, 0, 0);">
make: *** [Makefile:301:build] Error 2</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It seems the <span style="font-family: Consolas, Courier, monospace;">unoidl-write</span> tool is unable to find a specific entity (<span style="font-family: Consolas, Courier, monospace;">com.sun.star.text.textfield</span>) and this causes an assertion to
fail, aborting the build.</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Could anyone offer some advice on how to resolve this? Any help would be greatly appreciated.</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Bacx</div>
</body>
</html>