Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable NLS #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Enable NLS #12

wants to merge 1 commit into from

Conversation

wolfgangwalther
Copy link
Contributor

No description provided.

@wolfgangwalther
Copy link
Contributor Author

This only works with gettext-tiny instead of gettext right now. However gettext-tiny conflicts with linux-pam. This is mostly an alpine packaging issue, but it might be possible to make it configurable which gettext implementation (libc or gettext) to take, instead of defaulting to libc all the time.

@wolfgangwalther
Copy link
Contributor Author

Meson fails with this currently:

==~_~===-=-===~_~== /mnt/build/HEAD/pgsql.build/testrun/plperl/regress/regression.diffs ==~_~===-=-===~_~==
diff -U3 /mnt/source/src/pl/plperl/expected/plperl_elog_1.out /mnt/build/HEAD/pgsql.build/testrun/plperl/regress/results/plperl_elog.out
--- /mnt/source/src/pl/plperl/expected/plperl_elog_1.out
+++ /mnt/build/HEAD/pgsql.build/testrun/plperl/regress/results/plperl_elog.out
@@ -76,6 +76,7 @@
   RETURN 1;
 END;
 $$;
+WARNING:  could not determine encoding for locale "C.UTF-8": codeset is "ASCII"
 select die_caller();
 NOTICE:  caught die
  die_caller 
diff -U3 /mnt/source/src/pl/plperl/expected/plperl_call.out /mnt/build/HEAD/pgsql.build/testrun/plperl/regress/results/plperl_call.out
--- /mnt/source/src/pl/plperl/expected/plperl_call.out
+++ /mnt/build/HEAD/pgsql.build/testrun/plperl/regress/results/plperl_call.out
@@ -64,6 +64,7 @@
   RAISE NOTICE '_a: %, _b: %', _a, _b;
 END
 $$;
+WARNING:  could not determine encoding for locale "C.UTF-8": codeset is "ASCII"
 NOTICE:  a: 10, b: 
 NOTICE:  _a: 10, _b: 20
 DROP PROCEDURE test_proc1;

@wolfgangwalther
Copy link
Contributor Author

Building with --enable-nls and gettext works fine in nixpkgs' pkgsMusl. Thus, I consider this a packaging issue for Alpine Linux only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant