Issues building LibreOffice 4.0.0.1

Stephan Bergmann sbergman at redhat.com
Wed Jan 23 07:54:55 PST 2013


On 01/23/2013 08:31 AM, Henrik /KaarPoSoft wrote:
> However, I get a few errors while building; patch attached.

What would the build failures look like without that salhelper.patch 
applied?  It looks suspicious that you should be the only one hit by 
that problem, so it might just be a symptom of some other problem 
instead (and, e.g., "git grep -Flw salhelper chart2" does not turn up 
any -- direct -- dependency of e.g. chart2 on salhelper at least for the 
recent master repo I have at hand here).

Depending on what you have in /opt, your autogen.lastrun's

> # Pick up dependencies in /opt
> CPPFLAGS="-I/opt/include"
> LDFLAGS="-L/opt/lib"
> LD_LIBRARY_PATH="/opt/lib"

could be the source of lots of trouble.

> Also some unittests fail, which I have then disabled.
> Further subsequenttest also fails.
> And the final product fails just after showing the splash screen.

Your strace lines like

> 9579  08:05:59.537424 openat(AT_FDCWD, "/opt/kaarpux/libreoffice-4.0.0.1/lib/libreoffice/program/../program/r", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> 9579  08:05:59.537514 open("dkten-US.res", O_RDONLY) = -1 ENOENT (No such file or directory)
> 9579  08:05:59.537672 access("/opt/kaarpux/libreoffice-4.0.0.1/lib/libreoffice/program/../progra", F_OK) = -1 ENOENT (No such file or directory)
> 9579  08:05:59.537725 access("/opt/kaarpux/libreoffice-4.0.0.1/lib/libreoffice/program/unorc", F_OK) = 0
> 9579  08:05:59.537767 access("/opt/kaarpux/libreoffice-4.0.0.1/lib/libreoffice/program/../program/boot", F_OK) = -1 ENOENT (No such file or directory)

look oddly truncated.  For example, there should be a 
.../program/boostraprc file that soffice.bin would indeed try to open 
early on.

Stephan


More information about the LibreOffice mailing list