From owner-freebsd-office@FreeBSD.ORG Sat Sep 10 07:47:36 2011 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 02799106566B; Sat, 10 Sep 2011 07:47:36 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 45D6F8FC08; Sat, 10 Sep 2011 07:47:35 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1R2IHm-0007Af-CC>; Sat, 10 Sep 2011 09:47:34 +0200 Received: from e178029057.adsl.alicedsl.de ([85.178.29.57] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1R2IHm-0001X7-8d>; Sat, 10 Sep 2011 09:47:34 +0200 Message-ID: <4E6B1616.60409@zedat.fu-berlin.de> Date: Sat, 10 Sep 2011 09:47:34 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110907 Thunderbird/6.0.2 MIME-Version: 1.0 To: Sunpoet Po-Chuan Hsieh References: <201109051059.p85AxDcG099992@red.freebsd.org> <20110905161615.GA77562@bonjour.sunpoet.net> <4E652081.9020104@zedat.fu-berlin.de> <20110909201655.GC77562@bonjour.sunpoet.net> In-Reply-To: <20110909201655.GC77562@bonjour.sunpoet.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.29.57 Cc: office@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: ports/160481: devel/icu: Errors in total: 1. TestCompilerRTTI UObjectTest utility CLANG build failure 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: Sat, 10 Sep 2011 07:47:36 -0000 On 09/09/11 22:16, Sunpoet Po-Chuan Hsieh wrote: > On Mon, Sep 05, 2011 at 09:18:25PM +0200, Hartmann, O. wrote: >> On 09/05/11 18:16, Sunpoet Po-Chuan Hsieh wrote: >>> Hi, >>> >>> The failure is not limited to clang. It will also occur if you use gcc. :) >>> >>> excerpt from ${WRKSRC}/test/intltest/uobjtest.cpp: >>> >>> NumberFormat *nf = NumberFormat::createInstance("de", errorCode); >>> >>> ... >>> >>> if (&typeid(*nf) == NULL || typeid(*nf) == typeid(UObject) || typeid(*nf) == typeid(Format) || >>> typeid(*nf) != typeid(DecimalFormat) || typeid(*nf) == typeid(ChoiceFormat) || >>> typeid(*nf) == typeid(emptySet) >>> ) { >>> errln("typeid(NumberFormat) failed"); >>> } >>> >>> The failure was raised by typeid(*nf) != typeid(DecimalFormat). >>> However, according to [1], I think it should be ==, not !=. >>> That means you could safely ignore this. :) >>> >>> [1] http://icu-project.org/apiref/icu4c/classNumberFormat.html >>> >>> Regards, >> Hello. >> Using the legacy system's gcc 4.2, the port devel/icu compiles and >> installs without error. >> Using clang, the port is not installed properly. >> >> Using a portmaster -f xorg, which triggers the build of all ports >> neccessary for xorg ports >> matched by the pattern "xorg" results in a stop of the build >> process. I can not test further >> the proper build of the X11 subsystem without excluding explicitely >> devel/icu (amongst others). >> >> The error occured does not seem to be "obvious" to me, so reporting >> this issue by a PR seems the proper >> way. >> >> Can this be fixed so that clang compiles the port and portmaster >> installes the port properly? >> >> Regards, >> Oliver > Please try the patch at http://people.freebsd.org/~sunpoet/icu.patch > Thanks. > > Regards, Hello. Doesn't work. After application of the suggested patch I receive this: } OK: rbnfp csdet { ConstructionTest { } OK: ConstructionTest UTF8Test { } OK: UTF8Test UTF16Test { } OK: UTF16Test C1BytesTest { } OK: C1BytesTest InputFilterTest { } OK: InputFilterTest DetectionTest { } OK: DetectionTest (68ms) IBM424Test { } OK: IBM424Test IBM420Test { } OK: IBM420Test Ticket6394Test { } OK: Ticket6394Test } OK: csdet (70ms) spoof { TestSpoofAPI { } OK: TestSpoofAPI TestSkeleton { } OK: TestSkeleton TestAreConfusable { } OK: TestAreConfusable TestInvisible { } OK: TestInvisible testConfData { } OK: testConfData (76ms) testBug8654 { } OK: testBug8654 } OK: spoof (76ms) bidi { TestBidiTest { } OK: TestBidiTest (250ms) } OK: bidi (250ms) -------------------------------------- Errors in total: 1. TestCompilerRTTI UObjectTest utility -------------------------------------- Elapsed Time: 00:01:38.808 *** Error code 1 Stop in /usr/ports/devel/icu. *** Error code 1 Stop in /usr/ports/devel/icu.