[Libreoffice] [PATCH] compiling libreoffice-3-4 sal module with dbglevel=2: init test fails

Caolán McNamara caolanm at redhat.com
Fri Aug 5 08:19:49 PDT 2011


On Thu, 2011-08-04 at 12:07 +0200, Lionel Elie Mamane wrote:
> A two-day-old clone of branch libreoffice-3-4 fails to build module
> sal with dblevel=2, unittest fails: osl_old_test_file.cxx assertion
> "#failure 1.1": the failure is that blah/a/.. is not transformed to
> "blah", but stays "blah/a/.."
> 
> That's because in my setup symlinks are allowed, and in that setup
> osl_getAbsoluteFileURL does not touch the last component (the part
> after the last slash).

Presumably this is with environmental variable SAL_ALLOW_LINKOO_SYMLINKS
set to true, i.e. building in an environment where . ./ooenv was
previously done to set the hacky SAL_ALLOW_LINKOO_SYMLINKS to true

I worked around this at
http://cgit.freedesktop.org/libreoffice/ure/commit/?id=784641a19811c22208e7db8efa150e744348d8bf
in master.

Don't know, in the light of that, if we still need this proposed patch
then ?

C.



More information about the LibreOffice mailing list