Bug 121882 - /usr/ports/audio/mbrolavox/voices.conf uses extended characters from iso-8859-1
Summary: /usr/ports/audio/mbrolavox/voices.conf uses extended characters from iso-8859-1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-19 21:20 UTC by Daniel Kauffman
Modified: 2008-08-02 20:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kauffman 2008-03-19 21:20:01 UTC
/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.

Fix: 

iconv -f iso-8859-1 -t utf-8 voices.conf > voices.conf
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
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2008-08-02 20:28:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-08-02 20:33:14 UTC
amdmi3      2008-08-02 19:33:06 UTC

  FreeBSD ports repository

  Modified files:
    audio/mbrolavox      voices.conf 
  Log:
  - Remove diacritics to avoid possible problems with non-ascii characters
  - Thus, unbreak building port when using unicode locale
  
  PR:             ports/121882 (based on)
  Submitted by:   <daniel dot kauffman at rocksolidsolutions dot org>
  Approved by:    miwi (mentor)
  
  Revision  Changes    Path
  1.3       +2 -2      ports/audio/mbrolavox/voices.conf
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2008-08-02 20:33:43 UTC
State Changed
From-To: open->closed

Committed. Thanks!