#38487: juman6: sed: RE error: illegal byte sequence --------------------------+-------------------- Reporter: ryandesign@… | Owner: hum@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: mountainlion | Port: juman6 --------------------------+-------------------- juman6 @6.01_1 experiences the typical "sed: RE error: illegal byte sequence" build error on Mountain Lion: {{{ Making all in dic make[2]: Entering directory `/opt/local/var/macports/build/_Users_rschmidt_macports_dports_textproc_juman6/juman6/work/juman-6.01/dic' /usr/bin/clang -E -P JUMAN.connect.c | sed "s/\(\#pragma\)/\;\1/" > JUMAN.connect sed: RE error: illegal byte sequence clang: error: unable to execute command: Broken pipe: 13 }}} As of Mountain Lion, sed is much more strict about the byte sequences in the files. It assumes the bytes are in UTF-8 encoding, and displays this error when they are not. You must inform sed what the correct character encoding is for these files, for example by using the LC_CTYPE environment variable. -- Ticket URL: <https://trac.macports.org/ticket/38487> MacPorts <http://www.macports.org/> Ports system for OS X