On Tue, Nov 12, 2013 at 09:14:30PM +0100, Andreas Radke <[email protected]> 
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-4.2.0.0.alpha1/solenv/bin/modules/installer/worker.pm
>  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:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=85d584416fd7d51a397807597b5f36e39820a317

> 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-4.2.0.0.alpha1/instdir/unxlngx6.pro/sdk/classes/win/unowinreg.dll
> /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
'/build/libreoffice/src/185d60944ea767075d27247c3162b3bc-unowinreg.dll',
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. :)

Miklos

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to