From nobody@FreeBSD.org  Fri Nov  4 10:22:02 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AD537106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Nov 2011 10:22:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 9D62E8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Nov 2011 10:22:02 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pA4AM2hw067389
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 4 Nov 2011 10:22:02 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pA4AM2Dn067388;
	Fri, 4 Nov 2011 10:22:02 GMT
	(envelope-from nobody)
Message-Id: <201111041022.pA4AM2Dn067388@red.freebsd.org>
Date: Fri, 4 Nov 2011 10:22:02 GMT
From: Alexander Panyushkin <vsityz@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: editors/libreoffice not build
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         162287
>Category:       ports
>Synopsis:       editors/libreoffice not build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    office
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 04 10:30:10 UTC 2011
>Closed-Date:    Sun Nov 06 16:01:27 UTC 2011
>Last-Modified:  Mon Nov  7 08:10:07 UTC 2011
>Originator:     Alexander Panyushkin
>Release:        FreeBSD 8.2-STABLE
>Organization:
>Environment:
8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Sep 21 17:24:21 EEST 2011
>Description:
editors/libreoffice not build

----------------------------------------------------------
- start unit test #1 on library ../../../unxfbsd.pro/lib/libqa_rtl_oustringbuffer.so
----------------------------------------------------------
: &&     LD_LIBRARY_PATH=/var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/clone/ure/sal/unxfbsd.pro/lib:/var/tmp/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/libqa_rtl_oustringbuffer.so
OK (3)
Entering /var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/sal/qa/osl/security

Compiling: sal/unxfbsd.pro/misc/rtl_cipher_version.c
Compiling: sal/qa/rtl/cipher/rtl_cipher.cxx
Compiling: sal/unxfbsd.pro/misc/osl_Security_version.c
Compiling: sal/qa/osl/security/osl_Security.cxx
/var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/clone/ure/sal/qa/rtl/cipher/rtl_cipher.cxx:652: warning: unused parameter 'argc'
/var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/clone/ure/sal/qa/rtl/cipher/rtl_cipher.cxx:652: warning: unused parameter 'argv'
/var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/clone/ure/sal/qa/osl/security/osl_Security.cxx:697: warning: unused parameter 'argc'
/var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/clone/ure/sal/qa/osl/security/osl_Security.cxx:697: warning: unused parameter 'argv'
Making:    libosl_Security.so
----------------------------------------------------------
- start unit test #1 on library ../../../unxfbsd.pro/lib/libosl_Security.so
----------------------------------------------------------
: &&     LD_LIBRARY_PATH=/var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/clone/ure/sal/unxfbsd.pro/lib:/var/tmp/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
#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 beginni
ng.

Failures !!!
Run: 10   Failure total: 1   Failures: 1   Errors: 0
dmake:  Error code 1, while making 'test1'
Making:    librtl_cipher.so
----------------------------------------------------------
- start unit test #1 on library ../../../unxfbsd.pro/lib/librtl_cipher.so
----------------------------------------------------------
: &&     LD_LIBRARY_PATH=/var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/clone/ure/sal/unxfbsd.pro/lib:/var/tmp/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/librtl_cipher.so
OK (24)

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/sal/qa/osl/security

 it seems that the error is inside 'sal', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

rm -Rf /var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2/sal/unxfbsd.pro # optional module 'clean'
/bin/bash
cd /var/tmp/usr/ports/editors/libreoffice/work/libreoffice-bootstrap-3.4.3.2
source ./FreeBSDAMDEnv.Set.sh
cd sal
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
gmake: *** [all] ERROR 1
*** Error code 1

Stop in /usr/ports/editors/libreoffice.
*** Error code 1

Stop in /usr/ports/editors/libreoffice.

===>>> make failed for editors/libreoffice
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> editors/libreoffice

>How-To-Repeat:
portmaster editors/libreoffice  
   or 
/usr/ports/editors/libreoffice && make install
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->office 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Nov 4 10:30:23 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162287 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Nov 6 16:01:25 UTC 2011 
State-Changed-Why:  
this was fixed few days back. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162287 

From: Alexander Panyushkin <vsityz@gmail.com>
To: bug-followup@FreeBSD.org, vsityz@gmail.com
Cc:  
Subject: Re: ports/162287: editors/libreoffice not build
Date: Mon, 07 Nov 2011 10:07:30 +0200

 Fix:
 
 if build port in the sudo mode
 
 # cat /usr/local/etc/sudoers
 root ALL=(ALL) ALL
 %sudo   ALL=(ALL) ALL
 Defaults env_keep += "HOME"
 
 port isn`t building
 
 
 if to do "su -",  port building without errors
 
 
 -- 
 Best regards
 Alexander Panyushkin
 
>Unformatted:
