build error

Miklos Vajna vmiklos at collabora.co.uk
Wed Nov 13 01:12:31 PST 2013

On Tue, Nov 12, 2013 at 09:14:30PM +0100, Andreas Radke <a.radke at arcor.de> wrote:
> Thanks for the hint. Replacing dejavu-fonts with liberation fonts made
> the build finish.

Great to hear that. :)

> Now it fails in a different way:
> ... installing module gid_Module_Root_SDK ...
> DestDir: /build/libreoffice/src/fakeinstall 
> Rootpath: /usr/lib/libreoffice 
> ln: failed to create symbolic link '/build/libreoffice/src/fakeinstall/usr/lib/libreoffice/sdk/classes/win/unowinreg.dll': No such file or directory
> ERROR: Failure in installer.pm
> ERROR: Failed "ln -sf '/build/libreoffice/src/185d60944ea767075d27247c3162b3bc-unowinreg.dll' '/build/libreoffice/src/fakeinstall/usr/lib/libreoffice/sdk/classes/win/unowinreg.dll'" at /build/libreoffice/src/libreoffice- line 374.

I can see that happening when 'make DESTDIR=something install' is used.
The TDF binaries don't use that feature, so such issues are detected
when the first Linux distro tries to package the source. ;)

This fixed the problem for me:


> I haven't changed anything related to 185d60944ea767075d27247c3162b3bc-unowinreg.dll
> The file is linked into the main source directory and this worked so far. Or need to be linked/copied now 
> into the "external" directory?
>  find /home/andyrtr/arch64/chroots/testing-x86_64/andyrtr/build/ | grep unowinreg.dll
> /home/andyrtr/arch64/chroots/testing-x86_64/andyrtr/build/libreoffice/src/libreoffice-
> /home/andyrtr/arch64/chroots/testing-x86_64/andyrtr/build/libreoffice/src/ext_sources/185d60944ea767075d27247c3162b3bc-unowinreg.dll
> /home/andyrtr/arch64/chroots/testing-x86_64/andyrtr/build/libreoffice/src/185d60944ea767075d27247c3162b3bc-unowinreg.dll

Make sure to check the result after make install, if the symlink still
points to
you probably want to replace that symlink with a real copy, as users
won't have access to '/build/libreoffice/src/' when they install your
package. :)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20131113/34092466/attachment.pgp>

More information about the LibreOffice mailing list