From owner-freebsd-office@FreeBSD.ORG Fri Sep 14 13:20:26 2012 Return-Path: Delivered-To: office@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21B88106564A; Fri, 14 Sep 2012 13:20:26 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E05938FC15; Fri, 14 Sep 2012 13:20:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8EDKPV1032676; Fri, 14 Sep 2012 13:20:25 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8EDKPK7032646; Fri, 14 Sep 2012 13:20:25 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Fri, 14 Sep 2012 15:20:22 +0200 From: Baptiste Daroussin To: Lev Serebryakov Message-ID: <20120914132022.GD68582@ithaqua.etoilebsd.net> References: <137213157.20120914170551@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rz+pwK2yUstbofK6" Content-Disposition: inline In-Reply-To: <137213157.20120914170551@serebryakov.spb.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: office@FreeBSD.org Subject: Re: Why does "devel/icu" install static libraries with different names? X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2012 13:20:26 -0000 --rz+pwK2yUstbofK6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 14, 2012 at 05:05:51PM +0400, Lev Serebryakov wrote: > Hello, Office. >=20 > I have a problem here: my `devel/subversion' port has option to be > built static. It uses (via subversion native build system) > "/usr/local/lib/libsqlite3.la" to link with sqlite3 (which is > mandatory dependency). >=20 > When sqlit3 is built with ICU support, this file contains > "-licui18n" as used library. Which is Ok for dynamic linkage. >=20 > But static linkage fails, because name of static library is not > "libicui18n.a" but "libsicui18n.a" :( >=20 > Why does ICU install static libraries under different names and how > should I fix this? >=20 > --=20 > // Black Lion AKA Lev Serebryakov >=20 > _______________________________________________ > freebsd-office@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-office > To unsubscribe, send any mail to "freebsd-office-unsubscribe@freebsd.org" Because it is the way upstream provides them, icu is quite fragile so I don= 't know how to fix this without a) breaking anything that depends on static building with icu b) respecting upstream. btw building static subversion with icu will be quite complicated until we = fix this: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/154086 Which so far I failed at My recommandation is to just remove sqlite's icu option for the static buil= ding, given that the use case of icu is sqlite, is very rare. If you want to join the office team to fix icu feel free :D regards, Bapt --rz+pwK2yUstbofK6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBTLxYACgkQ8kTtMUmk6EwcuwCfebgxbGLU917jxCXx5gRBtVCW wosAnjUoHmSepS+U8cIpZMo2WGnFuxFV =qqGc -----END PGP SIGNATURE----- --rz+pwK2yUstbofK6--