Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2006 07:44:07 GMT
From:      "Jukka A. Ukkonen" <jau@iki.fi>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/95535: building openoffice-2.0 from ports fails
Message-ID:  <200604090744.k397i7x2050325@www.freebsd.org>
Resent-Message-ID: <200604090750.k397oEnW071207@freefall.freebsd.org>

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

>Number:         95535
>Category:       ports
>Synopsis:       building openoffice-2.0 from ports fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 09 07:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jukka A. Ukkonen
>Release:        6.1-PRERELEASE
>Organization:
private person
>Environment:
FreeBSD mjolnir 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #6: Wed Apr  5 13:11:13 EET DST 2006     root@mjolnir:/usr/obj/usr/src/sys/Mjolnir  i386
>Description:
The normal make in the openoffice-2.0 ports directory fails.
The output from the build attempt ends as follows (until that
moment everything goes just fine) ...

-----------------------------
SHL1FILTERFILE not set!
-----------------------------
dummy file to keep the dependencies for later use.
------------------------------
Making: ../../unxfbsd.pro/lib/libofficebean.so
g++-ooo -Wl,-z,combreloc -Wl,-rpath,'$ORIGIN' -shared -L../../unxfbsd.pro/lib -L../lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/unxfbsd/lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/unxfbsd/lib -L/usr/local/jdk1.5.0/lib -L/usr/local/jdk1.5.0/jre/lib/i386 -L/usr/local/jdk1.5.0/jre/lib/i386/client -L/usr/local/jdk1.5.0/jre/lib/i386/native_threads -L/usr/X11R6/lib ../../unxfbsd.pro/slo/officebean_version.o -o ../../unxfbsd.pro/lib/libofficebean.so ../../unxfbsd.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.o ../../unxfbsd.pro/slo/com_sun_star_beans_LocalOfficeWindow.o -ljawt -pthread -lm
rm -f ../../unxfbsd.pro/lib/check_libofficebean.so
mv ../../unxfbsd.pro/lib/libofficebean.so ../../unxfbsd.pro/lib/check_libofficebean.so
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/bin/checkdll.sh -L../../unxfbsd.pro/lib -L../lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/unxfbsd/lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/unxfbsd/lib -L/usr/local/jdk1.5.0/lib -L/usr/local/jdk1.5.0/jre/lib/i386 -L/usr/local/jdk1.5.0/jre/lib/i386/client -L/usr/local/jdk1.5.0/jre/lib/i386/native_threads -L/usr/X11R6/lib ../../unxfbsd.pro/lib/check_libofficebean.so
Checking DLL ../../unxfbsd.pro/lib/check_libofficebean.so ...: ERROR: Shared object "libmawt.so" not found, required by "libjawt.so"
dmake:  Error code 1, while making '../../unxfbsd.pro/lib/libofficebean.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/bean/native/unix
dmake:  Error code 1, while making 'build_instsetoo_native'
'---* *---'
*** Error code 255

Stop in /usr/ports/editors/openoffice.org-2.0.


The reason seems to be that the build does not find
/usr/local/jdk1.5.0/jre/lib/i386/xawt/libmawt.so.

>How-To-Repeat:
Make sure your top level Makefile uses jdk-1.5.
Then issue the commands below and wait.

cd /usr/ports/editors/openoffice.org-2.0
make

>Fix:
The missing library path should be added to the makefiles.

-L/usr/local/jdk1.5.0/jre/lib/i386/xawt/

>Release-Note:
>Audit-Trail:
>Unformatted:



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