Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2011 14:26:51 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        office@FreeBSD.org
Subject:   Re: libreoffice build failure (due to $HOME?)
Message-ID:  <20110907122651.GB31003@azathoth.lan>
In-Reply-To: <20110907113611.GC2135@over-yonder.net>
References:  <20110907113611.GC2135@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--WYTEVAkct0FjGQmd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.
>=20
> 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.
>=20
>=20
> Slice of the output:
>=20
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>=20
> ----------------------------------------------------------
> : &&
> LD_LIBRARY_PATH=3D/usr/ports.work/usr/ports/editors/libreoffice/work/libr=
eoffice-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/un=
xfbsd.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 =3D=3D strHomeDirectory.equals( strHome ) ) && (=
 sal_True =3D=3D bRes )
> - #test comment#: getHomeDir and compare it with the info we get at the b=
eginning.
>=20
> Failures !!!
> Run: 10   Failure total: 1   Failures: 1   Errors: 0
> dmake:  Error code 1, while making 'test1'
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>=20
>=20

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

regards,
Bapt

--WYTEVAkct0FjGQmd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk5nYwsACgkQ8kTtMUmk6Ew77gCgi6viDu3wur8kKn0RzY1gywIc
yd4AoKEOSCYRKwYydPfUb5DRuQiRWY7C
=55HV
-----END PGP SIGNATURE-----

--WYTEVAkct0FjGQmd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110907122651.GB31003>