LMS-Community / slimserver-platforms

Platform-specific build tools for Lyrion Music Server
48 stars 41 forks source link

Debian: Add icudt58 collation file(s) to installation #7

Closed mw9 closed 6 years ago

mw9 commented 6 years ago

ICU was updated to version 58.2 in September 2017. We need to include its collation file in the Debian distribution.

LMS will operate without the file, but throws an exception (below) and uses “COLLATE perllocale” as a fallback. Refer:

https://github.com/Logitech/slimserver/blob/public/7.9/Slim/Utils/SQLiteHelper.pm#L195

Exception:

[18-02-08 16:09:42.7993] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db do failed: SQL logic error or missing database ICU error: ucol_open(): U_FILE_ACCESS_ERROR [for Statement "SELECT icu_load_collation('en_US', 'en_US')"] [18-02-08 16:09:42.8036] Slim::Schema::Storage::throw_exception (122) Backtrace:

mw9 commented 6 years ago

Michael, This came to my attention while building for Debian Perl 5.24.