Bug 170051 - devel/icu fails on test stage when built with clang 3.1
Summary: devel/icu fails on test stage when built with clang 3.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: FreeBSD Office Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-21 11:10 UTC by reko.turja
Modified: 2013-10-18 09:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description reko.turja 2012-07-21 11:10:10 UTC
When building ICU with clang from the RELENG_9, build fails in the test stage. Port compiles with system GCC without problems. Port failed to compile after removing CPUTYPE line from make.conf and after changing optimization level to -O as well.

Icu port version: icu-4.8.1.1_1.

Snippet from build log:

cd /usr/ports/devel/icu/work/icu/source/test/cintltst && /usr/bin/env  LD_LIBRARY_PATH=/usr/ports/devel/icu/work/icu/source/lib:/usr/ports/devel/icu/work/icu/source/tools/ctestfw  ./cintltst
Default locale for this run is en_US_POSIX
 (./cintltst)  {
Comment 1 Edwin Groothuis freebsd_committer 2012-07-21 11:10:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->office

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 reko.turja 2012-07-21 11:30:53 UTC
The actual error seems to be missing so reposting:

cd /usr/ports/devel/icu/work/icu/source/test/cintltst && /usr/bin/env 
LD_LIBRARY_PATH=/usr/ports/devel/icu/work/icu/source/lib:/usr/ports/devel/icu/work/icu/source/tools/ctestfw 
./cintltst
Default locale for this run is en_US_POSIX

...

}
   cnumtst  {
    TestNumberFormat                         ---[OK]  (10ms)
    TestSpelloutNumberParse                  ---[OK]  (16ms)
    TestSignificantDigits                    ---[OK]
    TestSigDigRounding                       ---[OK]
    TestNumberFormatPadding                  ---[OK]
    TestInt64Format   {
!!    parseDouble returned incorrect value, got: 9.22337e+18
    } ---[1 ERRORS in /tsformat/cnumtst/TestInt64Format]
    TestNonExistentCurrency                  ---[OK]

...

SUMMARY:
******* [Total error count:     1]
Errors in
[/tsformat/cnumtst/TestInt64Format]
Elapsed Time: 00:00:45.953
*** [cintltst] Error code 1

Stop in /usr/ports/devel/icu.
*** [build] Error code 1
Comment 3 Tijl Coosemans freebsd_committer 2013-10-18 09:52:54 UTC
State Changed
From-To: open->closed

The problem seems to have been fixed with newer versions of 
the port and/or clang.