Opened 12 years ago

Closed 12 years ago

#38487 closed defect (fixed)

juman6: sed: RE error: illegal byte sequence

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: humem (humem)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: mountainlion Cc:
Port: juman6

Description

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.

Change History (1)

comment:1 Changed 12 years ago by humem (humem)

Resolution: fixed
Status: newclosed

Thanks. Committed in r104300.

Note: See TracTickets for help on using tickets.