[MacPorts] #35610: dsh fails with "sed: RE error: illegal byte sequence"
MacPorts
noreply at macports.org
Thu Aug 9 13:34:26 PDT 2012
#35610: dsh fails with "sed: RE error: illegal byte sequence"
---------------------------------+------------------------------------------
Reporter: bruce@… | Owner: bjorn@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: mountain lion | Port: dsh
---------------------------------+------------------------------------------
Changes (by ciserlohn@…):
* cc: bruce@… (removed)
* keywords: => mountain lion
* owner: macports-tickets@… => bjorn@…
Comment:
This is a common problem we're seeing with Mountain Lion's version of sed.
It happens when sed is asked to replace characters in a file which has a
strange character encoding. The solution is to tell sed to assume the C
locale.
As a workaround try:
{{{
sudo port install dsh destroot.env LANG=C
}}}
or
{{{
sudo port install dsh destroot.env LC_CTYPE=C
}}}
--
Ticket URL: <https://trac.macports.org/ticket/35610#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list