From owner-freebsd-openoffice@FreeBSD.ORG Sun Jan 29 19:20:13 2006 Return-Path: X-Original-To: openoffice@hub.freebsd.org Delivered-To: freebsd-openoffice@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E53A216A420 for ; Sun, 29 Jan 2006 19:20:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A201F43D49 for ; Sun, 29 Jan 2006 19:20:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0TJK7mE032257 for ; Sun, 29 Jan 2006 19:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0TJK6CF032256; Sun, 29 Jan 2006 19:20:07 GMT (envelope-from gnats) Date: Sun, 29 Jan 2006 19:20:07 GMT Message-Id: <200601291920.k0TJK6CF032256@freefall.freebsd.org> To: openoffice@FreeBSD.org From: Mike Durian Cc: Subject: Re: ports/92218: openoffice.org-2.0 build fails with shlibsign core dump X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Durian List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2006 19:20:14 -0000 The following reply was made to PR ports/92218; it has been noted by GNATS. From: Mike Durian To: bug-followup@freebsd.org Cc: Subject: Re: ports/92218: openoffice.org-2.0 build fails with shlibsign core dump Date: Sun, 29 Jan 2006 12:16:48 -0700 I've done a bit of digging. It looks like the work/OOA680_m1/moz/unxfbsd.pro/misc/build/mozilla/configure script is failing to detect that -lpthread contains the pthread_create() function. It then finds -lc_r and uses it instead. The config.log file shows: configure:8578: checking for pthread_create in -lpthread gcc-ooo -o dummy dummy.c -I/usr/X11R6/include -I/usr/X11R6/include -lpthread -lm /usr/lib/libpthread.so: undefined reference to `__usleep' collect2: ld returned 1 exit status configure:8600: checking for pthread_create in -lc_r gcc-ooo -o dummy dummy.c -I/usr/X11R6/include -I/usr/X11R6/include -lc_r -lm I created the dummy.c file by hand and tried compiling it. It compiles just fine (without the missing __usleep reference) if I use the system cc. It fails when I try gcc-ooo. > cc -o dummy dummy.c -I/usr/X11R6/include -I/usr/X11R6/include -lpthread -lm > gcc-ooo -o dummy dummy.c -I/usr/X11R6/include -I/usr/X11R6/include -lpthread -lm /usr/lib/libpthread.so: undefined reference to `__usleep' collect2: ld returned 1 exit status My gcc-ooo appears to be relatively old: > ls -l /usr/local/bin/gcc-ooo -r-xr-xr-x 3 root wheel 77216 May 10 2005 /usr/local/bin/gcc-ooo It also looks like it is not a required dependancy: > pkg_info -W /usr/local/bin/gcc-ooo /usr/local/bin/gcc-ooo was installed by package gcc-ooo-3.4.1_2 > pkg_info -R gcc-ooo-3.4.1_2 Information for gcc-ooo-3.4.1_2: I'm going to un-install lang/gcc-ooo and see if that fixes my problem. If gcc-ooo is required by openoffice.org-2.0, then it will get rebuilt. Assuming a stale gcc-ooo is my problem, I'm not sure what a real fix is. Others might experience this same problem. I'm thinking the gcc-ooo port revision needed a bump due to a change in a system library or header file so time ago. mike From owner-freebsd-openoffice@FreeBSD.ORG Sun Jan 29 21:40:06 2006 Return-Path: X-Original-To: openoffice@hub.freebsd.org Delivered-To: freebsd-openoffice@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48A1B16A420 for ; Sun, 29 Jan 2006 21:40:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6A6D43D58 for ; Sun, 29 Jan 2006 21:40:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0TLe5pu042344 for ; Sun, 29 Jan 2006 21:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0TLe519042343; Sun, 29 Jan 2006 21:40:05 GMT (envelope-from gnats) Date: Sun, 29 Jan 2006 21:40:05 GMT Message-Id: <200601292140.k0TLe519042343@freefall.freebsd.org> To: openoffice@FreeBSD.org From: Mike Durian Cc: Subject: Re: ports/92218: openoffice.org-2.0 build fails with shlibsign core dump X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Durian List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2006 21:40:06 -0000 The following reply was made to PR ports/92218; it has been noted by GNATS. From: Mike Durian To: bug-followup@freebsd.org Cc: Subject: Re: ports/92218: openoffice.org-2.0 build fails with shlibsign core dump Date: Sun, 29 Jan 2006 14:31:18 -0700 Well, removing lang/gcc-ooo so it could be rebuilt did not help. I still get the unresolved __usleep symbol, but I think I see what is really going on. I've been using and upgrading FreeBSD for quite a while now and there were some symbolic links in /lib dated from 2003 that probably should have been removed at some point. In paticular, /lib/libc.so was a link to /lib/libc.so.5 When building with the stock system compiler, ld searches /usr/lib for libraries. The ld from gcc-ooo search /lib before /usr/lib. So when I linked with the system ld it found /usr/lib/libc.so which is a link to /lib/libc.so.6. /lib/libc.so.6 resolves __usleep. The ld from gcc-ooo found /lib/libc.so which is a link to libc.so.5. libc.so.5 does not resolve __usleep and thus causes the test for pthread_create in -lpthread to fail. I have removed the symbolic links in /lib and I'll see how thing go. Conceivably, it might be worth adjusting the gcc-ooo linker to use the same search behavior as the stock system linker to avoid this sort of confusion in the future. mike From owner-freebsd-openoffice@FreeBSD.ORG Mon Jan 30 00:08:14 2006 Return-Path: X-Original-To: openoffice@FreeBSD.org Delivered-To: freebsd-openoffice@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6173616A420 for ; Mon, 30 Jan 2006 00:08:14 +0000 (GMT) (envelope-from freebsd@chillt.de) Received: from dd2718.kasserver.com (dd2718.kasserver.com [81.209.184.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7D7043D49 for ; Mon, 30 Jan 2006 00:08:13 +0000 (GMT) (envelope-from freebsd@chillt.de) Received: from [127.0.0.1] (dslb-084-060-099-108.pools.arcor-ip.net [84.60.99.108]) by dd2718.kasserver.com (Postfix) with ESMTP id 0A65CAD85A; Mon, 30 Jan 2006 01:07:09 +0100 (CET) Message-ID: <43DD58E5.8080001@chillt.de> Date: Mon, 30 Jan 2006 01:08:05 +0100 From: Bartosz Fabianowski User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: Mike Durian References: <200601292140.k0TLe519042343@freefall.freebsd.org> In-Reply-To: <200601292140.k0TLe519042343@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: openoffice@FreeBSD.org Subject: Re: ports/92218: openoffice.org-2.0 build fails with shlibsign core dump X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2006 00:08:14 -0000 > I've been using and upgrading FreeBSD for quite a while now and > there were some symbolic links in /lib dated from 2003 that probably > should have been removed at some point. You're lucky - as of 7th January, the delete-old and delete-old-libs targets have been MFCd. So, if you upgrade your box to a more recent version of 6-STABLE, you will be able to do the following to get rid of stale libraries and base system files: cd /usr/src ; make delete-old delete-old-libs This should remove all files that were part of FreeBSD's base install at some point and got moved/removed in later versions. - Bartosz From owner-freebsd-openoffice@FreeBSD.ORG Mon Jan 30 04:31:12 2006 Return-Path: X-Original-To: openoffice@freebsd.org Delivered-To: freebsd-openoffice@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05AA016A420 for ; Mon, 30 Jan 2006 04:31:12 +0000 (GMT) (envelope-from durian@shadetreesoftware.com) Received: from shadetreesoftware.com (ip-64-139-62-106.den.megapath.net [64.139.62.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 459EC43D48 for ; Mon, 30 Jan 2006 04:31:10 +0000 (GMT) (envelope-from durian@shadetreesoftware.com) Received: from mailhost.boogie.com (root@cpe-66-87-52-132.co.sprintbbd.net [66.87.52.132]) by shadetreesoftware.com (8.13.4/8.13.4) with ESMTP id k0U4V2VB009106; Sun, 29 Jan 2006 21:31:03 -0700 (MST) (envelope-from durian@shadetreesoftware.com) Received: from man.boogie.com (man.boogie.com [192.168.1.3]) by mailhost.boogie.com (8.13.4/8.13.4) with ESMTP id k0U4UxLV044151; Sun, 29 Jan 2006 21:31:02 -0700 (MST) (envelope-from durian@shadetreesoftware.com) From: Mike Durian Organization: Shade Tree Software, LLC To: Bartosz Fabianowski Date: Sun, 29 Jan 2006 21:30:57 -0700 User-Agent: KMail/1.9.1 References: <200601292140.k0TLe519042343@freefall.freebsd.org> <43DD58E5.8080001@chillt.de> In-Reply-To: <43DD58E5.8080001@chillt.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601292130.58800.durian@shadetreesoftware.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (shadetreesoftware.com [192.168.2.2]); Sun, 29 Jan 2006 21:31:04 -0700 (MST) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mailhost.boogie.com [66.87.52.132]); Sun, 29 Jan 2006 21:31:02 -0700 (MST) X-Virus-Scanned: ClamAV 0.87.1/1257/Sun Jan 29 08:15:47 2006 on oak.shadetreesoftware.com X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on oak.shadetreesoftware.com Cc: openoffice@freebsd.org Subject: Re: ports/92218: openoffice.org-2.0 build fails with shlibsign core dump X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2006 04:31:12 -0000 On Sunday 29 January 2006 17:08, you wrote: > > I've been using and upgrading FreeBSD for quite a while now and > > there were some symbolic links in /lib dated from 2003 that probably > > should have been removed at some point. > > You're lucky - as of 7th January, the delete-old and delete-old-libs > targets have been MFCd. So, if you upgrade your box to a more recent > version of 6-STABLE, you will be able to do the following to get rid of > stale libraries and base system files: > > cd /usr/src ; make delete-old delete-old-libs > > This should remove all files that were part of FreeBSD's base install at > some point and got moved/removed in later versions. > > - Bartosz Thanks Bartosz, I'll give that a try. I did delete the obsolete links manually and they fixed the -lpthread/-lc_r contention issue. Then I ran into the problem others have reported with jdk1.4p8. The one where it java dies in /lib/libz.so.3, java.util.zip.Inflater.inflateBytes. I've rolled back to jdk1.4p7 and I'll see if that helps me get a complete OOo build. mike From owner-freebsd-openoffice@FreeBSD.ORG Mon Jan 30 11:05:34 2006 Return-Path: X-Original-To: openoffice@freebsd.org Delivered-To: freebsd-openoffice@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0F2116A422 for ; Mon, 30 Jan 2006 11:05:34 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24BFF43D79 for ; Mon, 30 Jan 2006 11:05:26 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0UB5QLd022322 for ; Mon, 30 Jan 2006 11:05:26 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0UB5OEM022316 for openoffice@freebsd.org; Mon, 30 Jan 2006 11:05:24 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 30 Jan 2006 11:05:24 GMT Message-Id: <200601301105.k0UB5OEM022316@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: openoffice@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2006 11:05:34 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/11/29] ports/74518 openoffice openoffice-1.1 build failure on 4-stable: o [2005/03/04] ports/78428 openoffice openoffice.org-1.1.4 stops compiling -> d f [2005/04/14] ports/79941 openoffice openoffice.org-1.1 1.1.4_1 binary package o [2005/07/11] ports/83252 openoffice openoffice.org-1.1 1.1.4 build failure: D o [2005/09/20] ports/86383 openoffice Can't compile openoffice.org-1.1 o [2005/11/21] ports/89393 openoffice can't install OpenOffice 2.0.0 from port o [2005/12/10] ports/90184 openoffice Install of OpenOffice 2.0.0 fails o [2005/12/21] ports/90759 openoffice cannot save ANY file with "de-openoffice. o [2006/01/23] ports/92218 openoffice openoffice.org-2.0 build fails with shlib 9 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/05/10] ports/66480 openoffice editors/openoffice.org-1.1 port uses root o [2005/09/16] ports/86206 openoffice editors/openoffice.org-2.0: Unable to bui o [2005/11/12] ports/88898 openoffice Openoffice 2.0 broken save as o [2006/01/23] ports/92212 openoffice editors/openoffice.org-2.0: openoffice fa 4 problems total. From owner-freebsd-openoffice@FreeBSD.ORG Wed Feb 1 19:42:02 2006 Return-Path: X-Original-To: freebsd-openoffice@freebsd.org Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64F5316A420 for ; Wed, 1 Feb 2006 19:42:02 +0000 (GMT) (envelope-from taosecurity@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CCCF43D48 for ; Wed, 1 Feb 2006 19:42:00 +0000 (GMT) (envelope-from taosecurity@gmail.com) Received: by wproxy.gmail.com with SMTP id i12so580880wra for ; Wed, 01 Feb 2006 11:41:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=a/3WkSkb/EXF3q9/g5GckEzBB2lOffjENoPVtrpidv0siQYiGXUYfek/KUML11faZ3+3xOn0ZbgFF2p8pgHNrLK2gkLuLw/s5XVHXlibntMlqC5rqdnbHYMG/NI1viZ/rvk2wlWVOudCWalCFEgfP3Kn6fxV7XWvXdhni3yFcCg= Received: by 10.65.98.11 with SMTP id a11mr431692qbm; Wed, 01 Feb 2006 11:41:56 -0800 (PST) Received: by 10.65.244.10 with HTTP; Wed, 1 Feb 2006 11:41:56 -0800 (PST) Message-ID: <120ef0530602011141j7b7e1a2dk71916ed4994181c8@mail.gmail.com> Date: Wed, 1 Feb 2006 14:41:56 -0500 From: Richard Bejtlich To: freebsd-openoffice@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: fernan@iib.unsam.edu.ar Subject: Re: openoffice 2.0 package issues X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 19:42:02 -0000 Fernan Aguero wrote: > I want to install the current version of > editors/openoffice-2.0, and I've got across some issues: > > i. pkg_name > I've downloaded OOo_SRC680_m146_FreeBSD60Intel_install_en-US.tbz from > ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.0m146/FreeBSD= 6/ > but 'portinstall -PP editors/openoffice-2.0' fails because > it looks for a package named 'openoffice-2.0.1.tbz' > > I remember writing about this issue in the past ... so here > I go again, what is the reason for this port to behave > differently than the rest of the ports regarding the package > name? > > if the package name is the one that's expected by all the > ports tools, then we can just set PACKAGE_SITE and > use portupgrade/portinstall easily enough: > setenv PACKAGE_SITE >ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.0m146/FreeBSD6= / > portinstall -PP editors/openoffice-2.0 > > Perhaps you need the information encoded in the pkg_name: > m146 (milestone?) or SRC680 (snapshot?) Why not set this in > the port, perhaps in PORTREVISION? Hello, I am curious about this too. OpenOffice.org seems to personify all the reasons one would want to install using packages vs. building the port, especially on older hardware. Why is the OpenOffice.org package treated so differently? How do people install and manage the packages provided at http://porting.openoffice.org/freebsd/ ? Thank you, Richard From owner-freebsd-openoffice@FreeBSD.ORG Thu Feb 2 09:50:24 2006 Return-Path: X-Original-To: freebsd-openoffice@freebsd.org Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4E6A16A420 for ; Thu, 2 Feb 2006 09:50:24 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CC0543D5A for ; Thu, 2 Feb 2006 09:50:23 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so240326wxc for ; Thu, 02 Feb 2006 01:50:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=aD8/dQo95ZGtflbO7dRRVDGhpABM5/yoYWwvlTPuvmejSMAzPZqtLf3o/BKYBS8y7SzCR4nTFsTtt3tG9NBgR9k56d8CvX1itmJHhyQSI3vTEjQCCEXt26ShEkorZNBL/iDjilj+0afhcJNwFjcDWuMnKPxQGGWIcqBUFGm5NlM= Received: by 10.70.31.8 with SMTP id e8mr701352wxe; Thu, 02 Feb 2006 01:50:22 -0800 (PST) Received: by 10.70.67.17 with HTTP; Thu, 2 Feb 2006 01:50:22 -0800 (PST) Message-ID: Date: Thu, 2 Feb 2006 03:50:22 -0600 From: Nikolas Britton To: freebsd-openoffice@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_17187_6767445.1138873822666" Subject: OOo2 port with jdk15 build failures, help?, project xmerge. X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 09:50:24 -0000 ------=_Part_17187_6767445.1138873822666 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I'm trying to build the openoffice-2.0 port with jdk15 and I'm running into problems. The first problem I had was was building project bean: "ERROR: Shared object "libmawt.so" not found, required by "libjawt.so" Ok I have 3 version of libmawt.so installed: /usr/local/jdk1.5.0/jre/lib/i386/headless/libmawt.so /usr/local/jdk1.5.0/jre/lib/i386/motif21/libmawt.so /usr/local/jdk1.5.0/jre/lib/i386/xawt/libmawt.so So I made a guess and used xawt/libmawt.so, making symbolic links to it in /usr/local/lib/ and /usr/local/jdk1.5.0/jre/lib/i386/ This seemed to do the trick because I made it past project bean. Now I'm stuck at project xmerge, arrgg! The errors (8 errors in total, all the same) I'm getting now are: "as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier)" I'm guessing I'll need to edit the source files but I'm not a programmer, so I don't know where to start. Attached are the error messages from the build, any help would be cool. Tha= nks ------=_Part_17187_6767445.1138873822666 Content-Type: text/plain; name=OOo-xmerge-errors.txt; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="OOo-xmerge-errors.txt" ============= Building project xmerge ============= /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/activesync mkout -- version: 1.5 ------------- /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/htmlsoff ------------- /usr/local/bin/ant -Dprj=../.. -Dprjname=xmerge -Ddebug=off -Doptimize=on -Dtarget=htmlsoff -Dsolar.update=on -Dout=../../unxfbsd.pro -Dinpath=unxf bsd.pro -Dproext=".pro" -Dsolar.bin=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/bin -Dsolar.jar=/usr/ports/editors/ openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/bin -Dsolar.doc=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro /doc -Dcommon.jar=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/common.pro/bin -Dcommon.doc=/usr/ports/editors/openoffice.org-2.0 /work/OOA680_m1/solver/680/common.pro/doc -f build.xml -emacs Buildfile: build.xml init: compile: jar: Building jar: /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/unxfbsd.pro/class/htmlsoff.jar all: BUILD SUCCESSFUL Total time: 2 seconds /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge ------------- /usr/local/bin/ant -Dprj=../.. -Dprjname= -Ddebug=off -Doptimize=on -Dtarget=xmerge -Dsolar.update=on -Dout=../../unxfbsd.pro -Dinpath=unxfbsd.pro -Dproext=".pro" -Dsolar.bin=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/bin -Dsolar.jar=/usr/ports/editors/openoffi ce.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/bin -Dsolar.doc=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/doc -D common.jar=/usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/common.pro/bin -Dcommon.doc=/usr/ports/editors/openoffice.org-2.0/work/OO A680_m1/solver/680/common.pro/doc -f build.xml -emacs Buildfile: build.xml init: Created dir: /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/unxfbsd.pro/class/xmerge compile: Compiling 96 source files to /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/unxfbsd.pro/class/xmerge /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/ConvertData.java:130: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) Enumeration enum = v.elements(); ^ /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/ConvertData.java:131: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) return (enum); ^ /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentDeserializerImpl.jav a:158: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) Enumeration enum = cd.getDocumentEnumeration(); ^ /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentDeserializerImpl.jav a:164: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) while (enum.hasMoreElements()) { ^ /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentDeserializerImpl.jav a:165: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) docOut = (DOMDocument) enum.nextElement(); ^ /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/PluginFactoryImpl.java:186: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) Enumeration enum = ci.getDeviceMime(); ^ /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/PluginFactoryImpl.java:187: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) while (enum.hasMoreElements()) { ^ /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/PluginFactoryImpl.java:188: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) mimeType= (String) enum.nextElement(); ^ 8 errors BUILD FAILED /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/build.xml:81: Compile failed; see the compiler error output for details. Total time: 3 seconds dmake: Error code 1, while making 'ANTBUILD' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge dmake: Error code 1, while making 'build_instsetoo_native' '---* tg_merge.mk *---' *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2.0. ------=_Part_17187_6767445.1138873822666-- From owner-freebsd-openoffice@FreeBSD.ORG Thu Feb 2 13:30:56 2006 Return-Path: X-Original-To: openoffice@FreeBSD.org Delivered-To: freebsd-openoffice@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 518AD16A422; Thu, 2 Feb 2006 13:30:56 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pastinakel.tue.nl (pastinakel.tue.nl [131.155.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1A2443D45; Thu, 2 Feb 2006 13:30:55 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from localhost (localhost [127.0.0.1]) by pastinakel.tue.nl (Postfix) with ESMTP id AA3A914BBEE; Thu, 2 Feb 2006 14:30:54 +0100 (CET) Received: from pastinakel.tue.nl ([127.0.0.1]) by localhost (pastinakel.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58751-06-7; Thu, 2 Feb 2006 14:30:33 +0100 (CET) Received: from umta.win.tue.nl (umta.win.tue.nl [131.155.71.100]) by pastinakel.tue.nl (Postfix) with ESMTP id 9732514BE2F; Thu, 2 Feb 2006 14:30:00 +0100 (CET) Received: from pcwin002.win.tue.nl (pcwin002 [131.155.71.72]) by umta.win.tue.nl (Postfix) with ESMTP id 8FC2731401C; Thu, 2 Feb 2006 14:30:00 +0100 (CET) Received: by pcwin002.win.tue.nl (Postfix, from userid 1001) id 79A3040FA; Thu, 2 Feb 2006 14:30:00 +0100 (CET) To: FreeBSD-gnats-submit@freebsd.org From: Stijn Hoop X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20060202133000.79A3040FA@pcwin002.win.tue.nl> Date: Thu, 2 Feb 2006 14:30:00 +0100 (CET) X-Virus-Scanned: amavisd-new at tue.nl Cc: openoffice@FreeBSD.org Subject: editors/openoffice.org-2.0 build failure X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stijn Hoop List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 13:30:56 -0000 >Submitter-Id: current-users >Originator: Stijn Hoop >Organization: >Confidential: no >Synopsis: editors/openoffice.org-2.0 build failure >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 6.0-RELEASE-p4 i386 >Environment: System: FreeBSD pcwin002.win.tue.nl 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #0: Mon Jan 30 11:59:29 CET 2006 stijn@pcwin002.win.tue.nl:/net/freebsd/6.0-SECURITY/obj/net/freebsd/6.0-SECURITY/src/sys/PCWIN002 i386 >Description: I cannot seem to build editors/openoffice.org-2.0. The build ends with the following messages: %%% ... removing old installation directories ... ... analyzing package list ... ... creating epm list file epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_OOA680__en-US.lst ... ... starting unpatched epm ... ... epm -f bsd openoffice.org-sdk /local/freebsd/work/net/freebsd/ports/editors/openoffice.org-2.0/work/OOA680_m1/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_OOA680__en-US.lst -v 2>&1 | ... ... cleaning the output tree ... ... removing directory /local/freebsd/work/net/freebsd/ports/editors/openoffice.org-2.0/work/OOA680_m1/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/zip/en-US ... ************************************************** ERROR: ERROR: "epm -f bsd openoffice.org-sdk /local/freebsd/work/net/freebsd/ports/editors/openoffice.org-2.0/work/OOA680_m1/instsetoo_native/unxfbsd.pro/OpenOffice_SDK/bsd/listfile/en-US/epm_OpenOffice_SDK_gid_Module_Root_unxfbsd_OOA680__en-US.lst -v 2>&1 |"! in function: call_epm ************************************************** %%% The corresponding complete saved log file from the build can be found at http://sandcat.nl/~stijn/dev/log_OOA680__en-US.log.gz This is on 6.0-RELEASE-p4 with all others ports up to date. I hope this is a local problem, but if so it's totally unclear what. I use portupgrade to build it like so: [stijn@pcwin002] <~> sudo env PORTSDIR=/net/freebsd/ports portupgrade -NfpwW editors/openoffice.org-2.0 Other might-be-relevant data: /usr/ports does not exist, and as you can see PORTSDIR has been set in the environment. WRKDIRPREFIX is set to /local/freebsd/work, it exists and is writable (obviously). >How-To-Repeat: See above. >Fix: Don't know. From owner-freebsd-openoffice@FreeBSD.ORG Thu Feb 2 20:21:30 2006 Return-Path: X-Original-To: openoffice@hub.freebsd.org Delivered-To: freebsd-openoffice@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C32416A420; Thu, 2 Feb 2006 20:21:30 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E6BB43D46; Thu, 2 Feb 2006 20:21:28 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k12KLSHD006626; Thu, 2 Feb 2006 20:21:28 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k12KLSeC006622; Thu, 2 Feb 2006 20:21:28 GMT (envelope-from linimon) Date: Thu, 2 Feb 2006 20:21:28 GMT From: Mark Linimon Message-Id: <200602022021.k12KLSeC006622@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, openoffice@FreeBSD.org Cc: Subject: Re: ports/92737: editors/openoffice.org-2.0 build failure X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 20:21:30 -0000 Synopsis: editors/openoffice.org-2.0 build failure Responsible-Changed-From-To: freebsd-ports-bugs->openoffice Responsible-Changed-By: linimon Responsible-Changed-When: Thu Feb 2 20:21:07 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=92737 From owner-freebsd-openoffice@FreeBSD.ORG Sat Feb 4 01:41:50 2006 Return-Path: X-Original-To: freebsd-openoffice@freebsd.org Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E00E16A420 for ; Sat, 4 Feb 2006 01:41:50 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id B402D43D46 for ; Sat, 4 Feb 2006 01:41:49 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so510091wxc for ; Fri, 03 Feb 2006 17:41:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=q/S404lsn4LEoCD9qmM4dNcM7H/qc5xdFqZecI6r57HdQMrMTQlHonfAtIT2KzFb2WwxL0WQGPta1ZiWv11BpPOEiJpLBJKn1uACicGT1vlZo7cfgGn+YckXsezAC5Zh3yn6cUKpujljFjRHBomeCKgP58oD0gZapf/s/PoWSx4= Received: by 10.70.118.19 with SMTP id q19mr905529wxc; Fri, 03 Feb 2006 17:41:48 -0800 (PST) Received: by 10.70.67.17 with HTTP; Fri, 3 Feb 2006 17:41:48 -0800 (PST) Message-ID: Date: Fri, 3 Feb 2006 19:41:48 -0600 From: Nikolas Britton To: freebsd-openoffice@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_12167_11536394.1139017308826" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Successful Build!, was (Re: OOo2 port with jdk15 build failures, help?, project xmerge.) X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 01:41:50 -0000 ------=_Part_12167_11536394.1139017308826 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Success! I built openoffice.org-2.0 with jdk15 (patchset 2), kde, etc. in FreeBSD 6.0-RELEASE "make JAVA_VERSION=3D1.5 WITH_KDE=3Dyes install" Prereq: Make and Install the jdk15 port, but don't remove the linux-sun-jdk14 port just yet, we need some files from it. ### Problem 1 ### OOo needs bison2 and you have bison1 installed, you can't install both of them. ### Fix 1 ### You will need to deinstall bison1 and then install bison2. bison2 is only a build requirement for OOo so you can change it back to bison1 after you finish building OOo. ### Problem 2 (project bean) ### 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/OOA680_m1/bean/native/unix dmake: Error code 1, while making 'build_instsetoo_native' '---* tg_merge.mk *---' *** Error code 255 ### Fix 2 ### If you look you will find 3, different, versions of libmawt= .so: /usr/local/jdk1.5.0/jre/lib/i386/headless/libmawt.so /usr/local/jdk1.5.0/jre/lib/i386/motif21/libmawt.so /usr/local/jdk1.5.0/jre/lib/i386/xawt/libmawt.so You will need to symbolically link xawt/libmawt.so to: /usr/local/jdk1.5.0/jre/lib/i386/ and/or possibly /usr/local/lib/ # cd /usr/local/jdk1.5.0/jre/lib/i386/xawt/ # ln -s ./libmawt.so ../libmawt.so # ln -s ./libmawt.so ../../../../../lib/libmawt.so ### Problem 3 (project xmerge) ### as of release 1.5, 'enum' is a keyword, and may not be used as an identifie= r (try -source 1.4 or lower to use 'enum' as an identifier) mimeType=3D (String) enum.nextElement(); ^ 8 errors BUILD FAILED /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/b= uild.xml:81: Compile failed; see the compiler error output for details. Total time: 3 seconds dmake: Error code 1, while making 'ANTBUILD' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge dmake: Error code 1, while making 'build_instsetoo_native' '---* tg_merge.mk *---' *** Error code 255 ### Fix 3 ### You will need to edit 3 files to change the variable "enum" to something else so it doesn't conflict with the new enum keyword. Just do a standard case sensitive "Search and Replace" in your editor of choice. I would change the variable name from enum to enumer, or something similar. The base directory is: /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/j= ava/org/openoffice/xmerge/ The files are: ConvertData.java converter/xml/xslt/DocumentDeserializerImpl.java converter/xml/xslt/PluginFactoryImpl.java ### Problem 4 (project xmerge, continued...)### /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/j= ava/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java:93= : package org.apache.xalan.serialize does not exist import org.apache.xalan.serialize.Serializer; ^ /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/j= ava/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java:94= : package org.apache.xalan.serialize does not exist import org.apache.xalan.serialize.SerializerFactory; ^ /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/j= ava/org/openoffice/xmerge/converter/xml/xslt/DocumentSerializerImpl.java:95= : package org.apache.xalan.templates does not exist import org.apache.xalan.templates.OutputProperties; ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors BUILD FAILED /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge/b= uild.xml:81: Compile failed; see the compiler error output for details. Total time: 5 seconds dmake: Error code 1, while making 'ANTBUILD' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/xmerge/source/xmerge dmake: Error code 1, while making 'build_instsetoo_native' '---* tg_merge.mk *---' *** Error code 255 ### Fix 4 ### For some reason J2SE SDK 5 does not include the apache class packages in the JRE rt.jar file(?). You will need to add them into this file using the ones that are in the linux-sun-jdk14 port that was installed when you built jdk15. # cd /usr/local/linux-sun-jdk1.4.2/jre/lib/ && mkdir tmp ; cd tmp ; unzip -q ../rt.jar # cd /usr/local/jdk1.5.0/jre/lib/ && mkdir tmp ; cd tmp ; unzip -q ../rt.ja= r # test -e ../rt.bak && mv ../rt.bak ../rt.jar # cp ../rt.jar ../rt.bak ; mkdir org/apache ; cd org/apache # cp -R /usr/local/linux-sun-jdk1.4.2/jre/lib/tmp/org/apache/* ./ # cd ../../ ; rm ../rt.jar ; zip -0qr ../rt.jar ./* ; ls -l ../rt*; cd / # rm -r /usr/local/linux-sun-jdk1.4.2/jre/lib/tmp ; rm -r /usr/local/jdk1.5.0/jre/lib/tmp ------=_Part_12167_11536394.1139017308826--