URL:
<http://savannah.gnu.org/bugs/?46846>
Summary: failure due to filename encoding and locale on OSX
Project: findutils
Submitted by: sparr
Submitted on: Thu 07 Jan 2016 10:22:30 PM GMT
Category: updatedb
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.2
Fixed Release: None
_______________________________________________________
Details:
I've installed updatedb via Homebrew and encountered this problem:
$ sudo updatedb
/usr/bin/sort: string comparison failed: Illegal byte sequence
/usr/bin/sort: Set LC_ALL='C' to work around the problem.
/usr/bin/sort: The strings compared were
`/LIBRARY/FONTS/ō\216Ɩ\207ǻ\206ɻ\221.TTF' and
`/LIBRARY/FONTS/ō\216Ɩ\207ɻ\221Ľ\223.TTF'.
here are some possibly valid environment settings:
$ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=
$ env | egrep '^(LANG=|LC_)' | sort
LANG=en_US.UTF-8
downstream report: https://github.com/Homebrew/homebrew/issues/47791
my temporary workaround is to just `export LC_ALL="C"` at the top of the
updatedb script
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46846>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/