From owner-freebsd-office@FreeBSD.ORG Thu Dec 20 12:31:05 2012 Return-Path: Delivered-To: office@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AFE3E4DB; Thu, 20 Dec 2012 12:31:05 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com [209.85.215.51]) by mx1.freebsd.org (Postfix) with ESMTP id E4B108FC0C; Thu, 20 Dec 2012 12:31:04 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id e4so2826312lag.24 for ; Thu, 20 Dec 2012 04:30:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=/yv3ABBfE8Jaqu+1HP91u62Ei2gfVEarb61uvc0F45g=; b=F1xJj5thYRzwXeReUzpkY+kYLBhikmRIdUifzTN89SDSolCW8aRA1lry28jUO2B+GH cdvLE47cZPChAZaiuX1lXjlN8kJU0sNVXoJEQBH3CC1yw/9Z8vTGVz9P7ocIuM5fZKvr x3rOEb9hyLrOikmHozD8XtnZ7PpyJQf+mwJDPiUCXGXa/R9Z9chrWsdnFWEKHS+jCK89 5I2i3TKWjX78sGzgnjCz/vT6Ywoe5SuRNxRw9vV1xslw+6OSVdRMDCKK1gayIlM8n2+a RrvWYBL7lknytjS7AjP+BXa1wxFUN16YBWSTOpRfkkwyRlqS9xViCFTDlyuhsfuMAFem 6wZA== Received: by 10.112.36.137 with SMTP id q9mr3827960lbj.42.1356006657162; Thu, 20 Dec 2012 04:30:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.94.202 with HTTP; Thu, 20 Dec 2012 04:30:37 -0800 (PST) From: Luca Pizzamiglio Date: Thu, 20 Dec 2012 13:30:37 +0100 Message-ID: Subject: libreoffice 3.5.7_1 and icu-50.1 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: office@freebsd.org X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 12:31:05 -0000 Hi, I've some trouble to compile libreoffice 3.5.7_1 after icu update to 50.1 version the problem is located in i18npool module and the error is during the link phase: /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.7.2/workdir/ unxfbsdi.pro/CxxObject/i18npool/source/collator/gencoll_rule.o: In function `sal_main_with_args(int, char**)': gencoll_rule.cxx:(.text+0x3e5): undefined reference to `icu_50::UnicodeString::UnicodeString(char16_t const*)' In details, the source code of i18npool/source/collator/gencoll_rule.cxx line that creates the problem is the 119: RuleBasedCollator *coll = new RuleBasedCollator(reinterpret_cast(Obuf.getStr()), status); // UChar != sal_Unicode in MinGW effectively, objdump confirm a problem with UnicodeString constructors. In gencoll_rule.o the symbol is: 00000000 *UND* 00000000 _ZN6icu_5013UnicodeStringC1EPKDs but constructor symbols in /usr/local/lib/libicuuc.so.50.1 are: 00970d0 g DF .text 00000085 Base _ZN6icu_5013UnicodeStringC1EPKti 00092590 g DF .text 00000079 Base _ZN6icu_5013UnicodeStringC1EPKci 000971f0 g DF .text 00000086 Base _ZN6icu_5013UnicodeStringC1EPKt 00092790 g DF .text 00000117 Base _ZN6icu_5013UnicodeStringC1EPKciP10UConverterR10UErrorCode 00095d00 g DF .text 000000e7 Base _ZN6icu_5013UnicodeStringC1EPKciNS0_10EInvariantE 00092490 g DF .text 0000007d Base _ZN6icu_5013UnicodeStringC1EPKcS2_ 00092390 g DF .text 00000078 Base _ZN6icu_5013UnicodeStringC1EPKciS2_ 00092690 g DF .text 0000007e Base _ZN6icu_5013UnicodeStringC1EPKc I've no idea how to fix it, it seems that at compile time the constructor is recognized, but at link time it doesn't. My system is STABLE-8 i386. any suggestion to solve this issue? Thanks in advance! Best regards, Luca