From owner-freebsd-ports@FreeBSD.ORG Thu Apr 17 02:11:28 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 616F4106566C for ; Thu, 17 Apr 2008 02:11:28 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [76.96.62.17]) by mx1.freebsd.org (Postfix) with ESMTP id 948FB8FC16 for ; Thu, 17 Apr 2008 02:11:27 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA10.westchester.pa.mail.comcast.net with comcast id EPyh1Z01q1GhbT85A03t00; Thu, 17 Apr 2008 02:00:15 +0000 Received: from discordia ([24.60.135.75]) by OMTA07.westchester.pa.mail.comcast.net with comcast id ES1M1Z00G1dmTCQ3T00000; Thu, 17 Apr 2008 02:01:22 +0000 X-Authority-Analysis: v=1.0 c=1 a=sz7Gt9Dm-swA:10 a=OqNA35lodiMA:10 a=Csp36AELvto1lQqrK7MA:9 a=0DfP-Nxsswgm_vE9g70A:7 a=nN8KiD5t4VeyGvaahZvIITLmt1UA:4 a=b8hG5vVbyAkA:10 a=OJTA_MD3AAAA:8 a=-MLDRWu3AAAA:8 a=OleYc24qbJBljX6SQAkA:9 a=fxTSdnREy9GgR4XDTDYA:7 a=EljBkQf2jw6NFEHz1Ft5WmQiphUA:4 a=Er2gK3W4G3kA:10 a=HEieYIeJxccA:10 a=_8b1I3fGR8EA:10 a=1UDARuMKw8IA:10 a=uMkhqmPhtLcA:10 a=piM7VuhuogcA:10 a=ZnGqZKylLvsA:10 a=NfA2RSpTaHsA:10 a=zZJJMpcQoyJujRzJnooA:9 a=rhuVadwkw9cj6idVeHOIItN1rqcA:4 a=BRVo4AyhLQXkW6i2n6kA:9 a=gsC400DOv4L8g8yjdQO0QGU3NSYA:4 a=rPt6xJ-oxjAA:10 Received: by discordia (Postfix, from userid 103) id C5CA51636F9; Wed, 16 Apr 2008 22:01:21 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id DEA8E1636F8 for ; Wed, 16 Apr 2008 22:01:03 -0400 (EDT) From: Coleman Kane To: ports@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-t0AlkyfIl3mJ2/hUamw8" Organization: FreeBSD Project Date: Wed, 16 Apr 2008 22:00:44 -0400 Message-Id: <1208397644.1236.56.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1 FreeBSD GNOME Team Port Cc: Subject: CFT: Patch for OpenOffice.org to fix icu-3.8 breakage, as well as -CURRENT diablo-jdk breakage X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 02:11:28 -0000 --=-t0AlkyfIl3mJ2/hUamw8 Content-Type: multipart/mixed; boundary="=-tOoxai3ZJ09iJto94O4V" --=-tOoxai3ZJ09iJto94O4V Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello everyone, I've got a two-in-one patch I'd like to know if any volunteers would like to test to get ports/editors/openoffice.org-2-RC built and installed under the following circumstances where it may be failing: 1. You've installed the devel/icu 3.8+ port, and the build gives you an undefined symbol named "_ZN7icu_3_814LEFontInstance16getStaticClassIDEv" error 2. You're running 8.0-CURRENT and the KSE stuff has been removed and you installed diablo-jdk. This may be crashing when it tries to run the java stuff during the OO.o build, causing the build to fail with obscure error messages. My fix for #1, above, is to provide a new knob WITH_SYSTEM_ICU that tells configure to use the local-system's installed icu library, rather than the one that was shipped with the OO.o tarball. It seems that during the build, the include path unwittingly brings in your system headers, but then attempts to link against the shipped library. Both of these are incompatible APIs, and the result is an inability to resolve a symbol that is public in the OO.o version, but protected in the ports version. I am also attaching a patch for devel/icu that applies this permission change. My fix for #2, above, is to set the build jdk to "bsdjava" for FreeBSD 8.0+, which results in having Mk/bsd.java.mk look for the ports source-build rather than using the diablo-jdk for doing java compiles. For other versions of FreeBSD, the default is left at what it was before (diablo, then ports). --=20 Coleman Kane --=-tOoxai3ZJ09iJto94O4V Content-Disposition: attachment; filename=openoffice.org-system-icu.patch Content-Type: text/x-patch; name=openoffice.org-system-icu.patch; charset=UTF-8 Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2VkaXRvcnMvb3Blbm9mZmljZS5vcmctMi1SQy9NYWtlZmlsZSBiL2VkaXRv cnMvb3Blbm9mZmljZS5vcmctMi1SQy9NYWtlZmlsZQ0KaW5kZXggYzg3MGRjNy4uNTY1NWRmNSAx MDA2NDQNCi0tLSBhL2VkaXRvcnMvb3Blbm9mZmljZS5vcmctMi1SQy9NYWtlZmlsZQ0KKysrIGIv ZWRpdG9ycy9vcGVub2ZmaWNlLm9yZy0yLVJDL01ha2VmaWxlDQpAQCAtNyw2ICs3LDcgQEANCiAN CiBQT1JUTkFNRT89CW9wZW5vZmZpY2Uub3JnDQogUE9SVFZFUlNJT04/PQkyLjQuJHtTTkFQREFU RX0NCitQT1JUUkVWSVNJT04/PQkxDQogQ0FURUdPUklFUys9CWVkaXRvcnMgamF2YQ0KIE1BU1RF Ul9TSVRFUys9CWh0dHA6Ly9vb29wYWNrYWdlcy5nb29kLWRheS5uZXQvcHViL09wZW5PZmZpY2Uu b3JnL3NvdXJjZXMvIFwNCiAJCWh0dHA6Ly9vcGVub2ZmaWNlLmx1bmFyc2hlbGxzLmNvbS9zb3Vy Y2V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VJHUys9CS0t d2l0aC1zeXN0ZW0taWN1PW5vDQorLmVuZGlmDQorDQogcHJlLWZldGNoOg0KIC5pZiAoJHtPU1ZF UlNJT059IDwgNTAzMDAxICYmICR7T1NWRVJTSU9OfSA+PSA1MDAwMDApIHx8ICgke09TVkVSU0lP Tn0gPCA0OTIwMDApDQogCUAke0VDSE99DQpAQCAtODYsNiArOTMsMTEgQEAgcHJlLWZldGNoOg0K IAlAJHtFQ0hPfSAiWW91IGNhbiBjb21waWxlIE9PbyB3aXRob3V0IGdub21lIFZGUyBzdXBwb3J0 IHdpdGgiDQogCUAke0VDSE99ICJtYWtlIC1EV0lUSE9VVF9HTk9NRVZGUyINCiAuZW5kaWYNCisu aWYgIWRlZmluZWQoV0lUSF9TWVNURU1fSUNVKQ0KKwlAJHtFQ0hPfQ0KKwlAJHtFQ0hPfSAiWW91 IGNhbiBjb21waWxlIE9PbyB3aXRoIGRldmVsL2ljdSBmcm9tIHBvcnRzIHdpdGgiDQorCUAke0VD SE99ICJtYWtlIC1EV0lUSF9TWVNURU1fSUNVIg0KKy5lbmRpZg0KIC5pZiAhZGVmaW5lZChXSVRI X1NZU1RFTV9GUkVFVFlQRSkNCiAJQCR7RUNIT30NCiAJQCR7RUNIT30gIllvdSBjYW4gY29tcGls ZSBPT28gd2l0aCBmcmVldHlwZTIgZnJvbSBwb3J0cyB3aXRoIg0K --=-tOoxai3ZJ09iJto94O4V Content-Disposition: attachment; filename=icu-public-setBreakType.patch Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name=icu-public-setBreakType.patch; charset=UTF-8 ZGlmZiAtLWdpdCBhL2RldmVsL2ljdS9NYWtlZmlsZSBiL2RldmVsL2ljdS9NYWtlZmlsZQ0KaW5k ZXggYmMzNjdiMy4uNzhlZGVjYiAxMDA2NDQNCi0tLSBhL2RldmVsL2ljdS9NYWtlZmlsZQ0KKysr IGIvZGV2ZWwvaWN1L01ha2VmaWxlDQpAQCAtNyw3ICs3LDcgQEANCiANCiBQT1J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lhbGl6YXRpb24gZnVuY3Rpb24sIHVzZWQgYnkgY29uc3RydWN0b3JzIGFuZCBidWZm ZXJDbG9uZS4NCisgICAgICAgKiAgIChBbHNvIHVzZWQgYnkgRGljdGlvbmFyeUJhc2VkQnJlYWtJ dGVyYXRvcjo6Y3JlYXRlQnVmZmVyQ2xvbmUoKS4pDQo= --=-tOoxai3ZJ09iJto94O4V-- --=-t0AlkyfIl3mJ2/hUamw8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkgGr0oACgkQcMSxQcXat5eifQCcCTBzSYdRgSmiAQwrvvNqUBV7 y60AnRLxMf/XzC+FNhMbOlINt1cXQXl2 =ekT8 -----END PGP SIGNATURE----- --=-t0AlkyfIl3mJ2/hUamw8--