SmartOS: Stock "mkvtoolnix" crashes on 2023.4.0 with locale error
This post transcribes some emails I sent to the SmartOS mailing list some time ago. You can check the original thread:
Message-ID: <15dec164-940e-17d7-a7db-dcdf19f9ec2d@jcea.es> Date: Tue, 12 Mar 2024 14:07:13 +0100 To: smartos-discuss <smartos-discuss@lists.smartos.org> From: Jesus Cea <jcea@jcea.es> List-Id: "smartos-discuss" <smartos-discuss.lists.smartos.org> Subject: [smartos-discuss] Stock "mkvtoolnix" crashes on 2023.4.0 with locale error Hi, there. I install "pkgin install mkvtoolnix" with no issues (but a huge number of dependencies, 1.6 Gigabytes total!). Then, I run "mkvmerge" and it crashes: """ [jcea@test ~]$ mkvmerge terminate called after throwing an instance of 'std::runtime_error' what(): locale::facet::_S_create_c_locale name not valid Abort (core dumped) """ This worked fine in 2022.4.0. My environment variables are: """ MANPATH=/opt/local/man:/usr/share/man:/opt/local/lib/perl5/man:/opt/local/lib/perl5/vendor_perl/man LC_MONETARY=es_ES.UTF-8 TERM=xterm SHELL=/usr/bin/bash SSH_CLIENT=*** LC_NUMERIC=es_ES.UTF-8 SSH_TTY=/dev/pts/26 USER=root COLUMNS=80 PAGER=less MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin LC_COLLATE=es_ES.UTF-8 PWD=/home/jcea LANG=en_US.UTF-8 TZ=Europe/Madrid LINES=25 SHLVL=1 HOME=/home/jcea TERMINFO=/opt/local/share/lib/terminfo LOGNAME=jcea SSH_CONNECTION=**** LC_TIME=es_ES.UTF-8 FTPMODE=auto _=/opt/local/bin/env """
Jonathan Perkin replied: