Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 21:19:14 GMT
From:      Daniel Kauffman <daniel.kauffman@rocksolidsolutions.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121882: /usr/ports/audio/mbrolavox/voices.conf uses extended characters from iso-8859-1
Message-ID:  <200803192119.m2JLJElK005044@www.freebsd.org>
Resent-Message-ID: <200803192120.m2JLK1PB044628@freefall.freebsd.org>

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

>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:



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