Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2013 10:31:40 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175880: editors/libreoffice: ERROR: error 512 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2/testtools/prj
Message-ID:  <201302061031.r16AVeqC005336@red.freebsd.org>
Resent-Message-ID: <201302061040.r16Ae0iM099484@freefall.freebsd.org>

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

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 06 10:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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