From nobody@FreeBSD.org  Wed Feb  6 10:31:40 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id ED23D6F3
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Feb 2013 10:31:40 +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 DCAECF0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Feb 2013 10:31:40 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r16AVekl005342
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 6 Feb 2013 10:31:40 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r16AVeqC005336;
	Wed, 6 Feb 2013 10:31:40 GMT
	(envelope-from nobody)
Message-Id: <201302061031.r16AVeqC005336@red.freebsd.org>
Date: Wed, 6 Feb 2013 10:31:40 GMT
From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: editors/libreoffice: ERROR: error 512 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/testtools/prj
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         175880
>Category:       ports
>Synopsis:       editors/libreoffice: ERROR: error 512 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/testtools/prj
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    office
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 06 10:40:00 UTC 2013
>Closed-Date:    Sat Feb 09 00:56:31 UTC 2013
>Last-Modified:  Sat Feb 09 00:56:31 UTC 2013
>Originator:     O. Hartmann
>Release:        FreeBSD 10-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
FreeBSD 10.0-CURRENT #1 r246366: Tue Feb  5 17:14:19 CET 2013

# pkg info libcmis (regarding ports/UPDATING 20130205)
libcmis-0.3.0                  Client library for the CMIS interface
>Description:
Updating or building port editors/libreoffice fails (as usual) on FreeBSD 10-CURRENT, most recent buildworld and FreeBSD 9.1-STABLE, both amd64). Enabling JAVA for JDBC/database access purposes results on both platforms in linker error not finding libjawt. This library is installed:

pkg which /usr/local/openjdk6/jre/lib/amd64/libjawt.so
/usr/local/openjdk6/jre/lib/amd64/libjawt.so was installed by package openjdk6-b27

Disabling JAVA results in the error shown below.

[...]
[ building ZIP ] xhp_simpress_en-US.zip
[ building ZIP ] xhp_simpress_en-US.zip
[ building ZIP ] swriter_en-US.zip
[ building ZIP ] simpress_en-US.zip
helpcontent2 deliver
Module 'helpcontent2' delivered successfully. 10 files copied, 1 files unchanged

-----------------------------------------------------------------------
        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 512 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/testtools/prj

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

build_error.log should contain the captured output of the failed module(s)

-----------------------------------------------------------------------
To rebuild a specific module:

gmake testtools.clean # optional
gmake testtools

when the problem is isolated and fixed, re-run 'gmake'
gmake[1]: *** [build-packimages] Error 1
gmake[1]: Leaving directory `/usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2'
gmake: *** [all] Error 2
*** [do-build] Error code 1

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

Stop in /usr/ports/editors/libreoffice.

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

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

Terminated

>How-To-Repeat:
Update an existing installation of port editors/libreoffice. amke sure option JAVA is NOT selected, otherwise the build will fail due to linker does not find libjawt:
find /usr/local/ -name "libjawt*" -ls
3273789       16 -r--r--r--    1 root                             wheel                                6198 Feb  5 18:34 /usr/local/openjdk6/jre/lib/amd64/libjawt.so

pkg which /usr/local/openjdk6/jre/lib/amd64/libjawt.so
/usr/local/openjdk6/jre/lib/amd64/libjawt.so was installed by package openjdk6-b27

JAVA is needed for JDBC DB access.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->office 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Feb 6 10:40:09 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175880 
State-Changed-From-To: open->closed 
State-Changed-By: jkim 
State-Changed-When: Sat Feb 9 00:55:32 UTC 2013 
State-Changed-Why:  
These two build issues should be fixed now. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175880 
>Unformatted:
