#35420: p5-crypt-passwdmd5: sed: RE error: illegal byte sequence ---------------------------------+-------------------------- Reporter: ak@… | Owner: ooburai@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: mountainlion Port: p5-crypt-passwdmd5 | ---------------------------------+-------------------------- Comment (by jeremyhu@…): Replying to [comment:5 nick@…]:
According to https://github.com/Homebrew/homebrew-dupes/pull/21 and linked pages, the problem is Mountain Lion specific and has to do with locale settings and improper handling of these in sed.
No, the problem is that ML's sed is properly handling the locale setting whereas other implementations are not handling it correctly. The file is not proper UTF8, so you need to set LC_CTYPE=C Why not just fix the buggy file? -- Ticket URL: <https://trac.macports.org/ticket/35420#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS