ports/105191: Tests from clock.test failing
Grégory Nou
gregory.nou at gmail.com
Mon Nov 6 00:30:31 UTC 2006
>Number: 105191
>Category: ports
>Synopsis: Tests from clock.test failing
>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: Mon Nov 06 00:30:29 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Grégory Nou
>Release: 6.2-PRERELEASE
>Organization:
>Environment:
FreeBSD greg 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Thu Nov 2 01:52:44 CET 2006 root at greg:/usr/obj/usr/src/sys/MYSMP i386
>Description:
Package does not deal with locale correctly, e.g.
==== clock-3.1 clock format tests FAILED
==== Contents of test case:
set clockval 657687766
clock format $clockval -format {%a %b %d %I:%M:%S %p %Y}
---- Result was:
Dim nov 04 03:02:46 1990
---- Result should have been (exact matching):
Sun Nov 04 03:02:46 AM 1990
==== clock-3.1 FAILED
>How-To-Repeat:
set LC_ALL to any non-english language
>Fix:
Patch attached with submission follows:
--- Makefile Mon Nov 6 01:26:09 2006
+++ Makefile.new Mon Nov 6 01:25:37 2006
@@ -25,7 +25,7 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --includedir=${PREFIX}/include/tcl${TCL_VER}
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
-MAKE_ENV= SHORT_TCL_VER=84 LANG=C # LANG=C is required for some of UTF-using tests
+MAKE_ENV= SHORT_TCL_VER=84 LANG=C LC_ALL=C# LANG=C is required for some of UTF-using tests
PKGINSTALL= ${PKGDIR}/pkg-install.tclsh
PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.tclsh
TCL_VER= 8.4
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list