ports/76585: UTF8 locales break build
clemens fischer
ino-qc at spotteswoode.dnsalias.org
Sun Jan 23 00:20:10 UTC 2005
>Number: 76585
>Category: ports
>Synopsis: UTF8 locales break build
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 23 00:20:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: clemens fischer <ino-qc at spotteswoode.dnsalias.org>
>Release: FreeBSD 5.3-STABLE i386
>Organization:
none
>Environment:
System: FreeBSD spotteswoode.dnsalias.org 5.3-STABLE FreeBSD 5.3-STABLE #5: Mon Jan 17 18:25:13 CET 2005
root at spotteswoode.dnsalias.org:/mail/freebsd/obj/mail/freebsd/RELENG_5/src/sys/n2 i386
>Description:
using any UTF-8 locale breaks the build (LC_CTYPE de_DE.UTF-8 in my
case).
>How-To-Repeat:
"setenv LC_CTYPE de_DE.UTF-8" and build. there's an innocent
looking uniq(1) command in there, which is the culprit.
>Fix:
i used the following:
(before)
...
./minitests > minitests.out
uniq -u < minitests.out > minitests.output.i386-unknown-freebsd5.3
uniq: stdin: Illegal byte sequence
*** Error code 1
(after, using bash(1))
# export LANG=C LC_ALL=C
# localname=$(pwd) && portupgrade -vw ${localname#*/p/}
---> Reading default options: -v -D -W -l /var/pkgtools/portupgrade.results -L /var/pkgtools/%s__%s.log
---> Session started at: Sun, 23 Jan 2005 00:52:23 +0100
...
and the build completed. i'm not sure where to insert this little fix in
the ports "Makefile", though.
regards, clemens
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list