ports/121882: /usr/ports/audio/mbrolavox/voices.conf uses extended characters from iso-8859-1
Daniel Kauffman
daniel.kauffman at rocksolidsolutions.org
Wed Mar 19 21:20:01 UTC 2008
>Number: 121882
>Category: ports
>Synopsis: /usr/ports/audio/mbrolavox/voices.conf uses extended characters from iso-8859-1
>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: Wed Mar 19 21:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Daniel Kauffman
>Release: FreeBSD 6.2
>Organization:
>Environment:
>Description:
/usr/ports/audio/mbrolavox/voices.conf uses extended characters from iso-8859-1.
When system is set to use utf-8, rebuilding the ports index fails because /usr/bin/cut cannot read extended characters from iso-8859-1.
>How-To-Repeat:
Set system to use utf-8:
MM_CHARSET=UTF-8
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
Run:
portsdb -fU
Result:
Updating the ports index ... Generating INDEX.tmp - please wait..cut: stdin: Illegal byte sequence
"Makefile", line 32: warning: "/usr/bin/cut -f 1 -d '|' < /usr/ports/audio/mbrolavox/voices.conf" returned non-zero status
>Fix:
iconv -f iso-8859-1 -t utf-8 voices.conf > voices.conf
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list