Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2008 14:11:40 +0200 (CEST)
From:      Anton Berezin <tobez@tobez.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/127496: devel/icu 3.8.1_1 does not build when Danish locale is in effect
Message-ID:  <20080919121140.5E7366D400@heechee.tobez.org>
Resent-Message-ID: <200809191240.m8JCe2ff079483@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127496
>Category:       ports
>Synopsis:       devel/icu 3.8.1_1 does not build when Danish locale is in effect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 19 12:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Anton Berezin
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD mini.tobez.org 8.0-CURRENT FreeBSD 8.0-CURRENT #8: Sun Aug 17 22:05:01 CEST 2008     root@mini.tobez.org:/usr/obj/usr/src/sys/MINI  i386

>Description:

When trying to build the latest version of the devel/icu port,
the following occurs:

...
gmake[1]: Leaving directory `/usr/ports/devel/icu/work/icu/source/test'
gmake: Leaving directory `/usr/ports/devel/icu/work/icu/source/test'
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 da_DK
 /
 /udatatst/
...
    ---[OK]  ---/tscoll/usrchtst/TestNumeric 
    Text: aa\u00e1
    Pattern: a\u00e1
    Error following match found at -1 0
    Error at test number 1
    ---[4 ERRORS]  ---/tscoll/usrchtst/TestDiactricMatch 
...
SUMMARY:
******* [Total error count:     4]
 Errors in
   [/tscoll/usrchtst/TestDiactricMatch]
Elapsed Time: 00:00:23.000
*** Error code 1

Stop in /usr/ports/devel/icu.
*** Error code 1

Stop in /usr/ports/devel/icu.

# env|grep da
LANG=da_DK.ISO8859-15

# unset LANG
# make
...
--------------------------------------
OK: All tests passed without error.
--------------------------------------

Since the tests are a part of the build, it is not possible
to build icu unless I change the locale settings.

>How-To-Repeat:

See above.

>Fix:

One of the following:

 1. Report the bug upstream.
 1a. Or it could be a genuine problem with Danish locale in FreeBSD CURRENT.
 2. Modify the port to reset locale during the build.
 3. Do not run the tests as a part of the build.
 4. Something else I did not think about.
 5. Do nothing, let the user to figure it out.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080919121140.5E7366D400>