libreoffice build failure (due to $HOME?)

Baptiste Daroussin bapt at FreeBSD.org
Wed Sep 7 12:26:55 UTC 2011


On Wed, Sep 07, 2011 at 06:36:11AM -0500, Matthew D. Fuller wrote:
> The build fails for me partway on when it's running some tests.
> 
> My guess is that it's something about $HOME not matching the user's
> homedir, since it seems to be failing about SOMETHING with a homedir,
> and I run under sudo (so I'm running as root, but with my own $HOME).
> Redoing the build from under su gets past that and is still ongoing.
> 
> 
> Slice of the output:
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> ----------------------------------------------------------
> : &&
> LD_LIBRARY_PATH=/usr/ports.work/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/clone/ure/sal/unxfbsd.pro/lib:/usr/ports.work/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/solver/340/unxfbsd.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
> ../../../unxfbsd.pro/bin/cppunittester
> ../../../unxfbsd.pro/lib/libosl_Security.so
> - start unit test #1 on library ../../../unxfbsd.pro/lib/libosl_Security.so
> ----------------------------------------------------------
> OK (2)
> #Initializing ...
> #
> #logonUser function need root/Administrator account to test.
> #You can test by login with root/Administrator, and excute:
> #testshl2 -forward "username password"
> ../../../wntmsci9/bin/Security.dll
> #      where username and password are forwarded account info.
> #if no text forwarded, this function will be skipped.
> #
> #Retrived system information is below:
> Computer Name:              Not retrived
> Current User Name:          root
> Current User Home Directory:file:///root
> Current Config Directory:   file:///root
> Current UserID:             0
> Current User is:            Administrator.
> #
> #Initialization Done.
> osl_Security.cxx:216:Assertion
> Test name: osl_Security::getHomeDir::getHomeDir_001
> assertion failed
> - Expression: ( sal_True == strHomeDirectory.equals( strHome ) ) && ( sal_True == bRes )
> - #test comment#: getHomeDir and compare it with the info we get at the beginning.
> 
> Failures !!!
> Run: 10   Failure total: 1   Failures: 1   Errors: 0
> dmake:  Error code 1, while making 'test1'
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> 

This is known.
Please use su - instead of su to become root

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-office/attachments/20110907/253ddaa7/attachment.pgp


More information about the freebsd-office mailing list