Date: 23 Jan 2005 00:11:21 -0000 From: "clemens fischer" <ino-qc@spotteswoode.dnsalias.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/76585: UTF8 locales break build Message-ID: <20050123001121.70556.qmail@nosuch.host.here> Resent-Message-ID: <200501230020.j0N0K9oH005884@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050123001121.70556.qmail>