Update to gettext 22.5
Resolves https://github.com/Koka/gettext-rs/issues/114 Resolves https://github.com/Koka/gettext-rs/issues/117
Relevant gnulib commit: 0cc39712
-
[x] Look through release notes to find possibly important configuration options
-
[x] FInd out why integration test is failing on my system:
cargo test -p gettext-rs --test integrationrunning 11 tests error: test failed, to rerun pass
-p gettext-rs --test integrationCaused by: process didn't exit successfully:
/home/dennis/tmp-projects/gettext-rs/target/debug/deps/integration-7e0d0a9f78988c74(signal: 6, SIGABRT: process abort signal)- Turns out this was caused by passing in an invalid value for the
categoryargument ofdcgettext(). From https://www.gnu.org/software/libc/manual/html_node/Translation-with-gettext.html:Normally the available values are LC_CTYPE, LC_COLLATE, LC_MESSAGES, LC_MONETARY, LC_NUMERIC, and LC_TIME. Please note that LC_ALL must not be used and even though the names might suggest this, there is no relation to the environment variable of this name.
- Turns out this was caused by passing in an invalid value for the
From what I can tell in the comments of https://github.com/gettext-rs/gettext-rs/issues/121, this would address this build failure https://github.com/rustcoreutils/posixutils-rs/actions/runs/10173778299/job/28138428272 , it would be great to get this merged soon!
Resolves #114 Resolves #117
Relevant gnulib commit: 0cc39712
[x] Look through release notes to find possibly important configuration options
[x] FInd out why integration test is failing on my system:
cargo test -p gettext-rs --test integrationrunning 11 tests error: test failed, to rerun pass
-p gettext-rs --test integrationCaused by: process didn't exit successfully:/home/dennis/tmp-projects/gettext-rs/target/debug/deps/integration-7e0d0a9f78988c74(signal: 6, SIGABRT: process abort signal)
- Turns out this was caused by passing in an invalid value for the
categoryargument ofdcgettext(). From https://www.gnu.org/software/libc/manual/html_node/Translation-with-gettext.html:Normally the available values are LC_CTYPE, LC_COLLATE, LC_MESSAGES, LC_MONETARY, LC_NUMERIC, and LC_TIME. Please note that LC_ALL must not be used and even though the names might suggest this, there is no relation to the environment variable of this name.
Resolves #114 Resolves #117
Relevant gnulib commit: 0cc39712
[x] Look through release notes to find possibly important configuration options
[x] FInd out why integration test is failing on my system:
cargo test -p gettext-rs --test integrationrunning 11 tests error: test failed, to rerun pass
-p gettext-rs --test integrationCaused by: process didn't exit successfully:/home/dennis/tmp-projects/gettext-rs/target/debug/deps/integration-7e0d0a9f78988c74(signal: 6, SIGABRT: process abort signal)
- Turns out this was caused by passing in an invalid value for the
categoryargument ofdcgettext(). From https://www.gnu.org/software/libc/manual/html_node/Translation-with-gettext.html:Normally the available values are LC_CTYPE, LC_COLLATE, LC_MESSAGES, LC_MONETARY, LC_NUMERIC, and LC_TIME. Please note that LC_ALL must not be used and even though the names might suggest this, there is no relation to the environment variable of this name.
Bingo, that's probably exactly what I needed to fix my issue https://github.com/gettext-rs/gettext-rs/issues/127