plperl and perl 5.38

Started by Christoph Bergalmost 2 years ago3 messages
#1Christoph Berg
myon@debian.org

Perl 5.38 has landed in Debian unstable, and plperl doesn't like it:

diff -U3 /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_elog_1.out /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_elog.out
--- /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_elog_1.out	2023-07-24 12:47:52.124583553 +0000
+++ /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_elog.out	2024-01-12 10:09:51.065265341 +0000
@@ -76,6 +76,7 @@
   RETURN 1;
 END;
 $$;
+WARNING:  could not determine encoding for locale "C.utf8": codeset is "ANSI_X3.4-1968"
 select die_caller();
 NOTICE:  caught die
  die_caller
diff -U3 /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_call.out /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_call.out
--- /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_call.out	2023-10-17 09:40:01.365865484 +0000
+++ /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_call.out	2024-01-12 10:09:51.413278511 +0000
@@ -64,6 +64,7 @@
   RAISE NOTICE '_a: %, _b: %', _a, _b;
 END
 $$;
+WARNING:  could not determine encoding for locale "C.utf8": codeset is "ANSI_X3.4-1968"
 NOTICE:  a: 10, b:
 NOTICE:  _a: 10, _b: 20
 DROP PROCEDURE test_proc1;

Same problem in 17devel and 16. (Did not try the older branches yet.)

Christoph

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Christoph Berg (#1)
Re: plperl and perl 5.38

On 2024-01-12 Fr 05:14, Christoph Berg wrote:

Perl 5.38 has landed in Debian unstable, and plperl doesn't like it:

diff -U3 /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_elog_1.out /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_elog.out
--- /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_elog_1.out	2023-07-24 12:47:52.124583553 +0000
+++ /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_elog.out	2024-01-12 10:09:51.065265341 +0000
@@ -76,6 +76,7 @@
RETURN 1;
END;
$$;
+WARNING:  could not determine encoding for locale "C.utf8": codeset is "ANSI_X3.4-1968"
select die_caller();
NOTICE:  caught die
die_caller
diff -U3 /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_call.out /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_call.out
--- /home/myon/projects/postgresql/pg/postgresql/src/pl/plperl/expected/plperl_call.out	2023-10-17 09:40:01.365865484 +0000
+++ /home/myon/projects/postgresql/pg/postgresql/build/testrun/plperl/regress/results/plperl_call.out	2024-01-12 10:09:51.413278511 +0000
@@ -64,6 +64,7 @@
RAISE NOTICE '_a: %, _b: %', _a, _b;
END
$$;
+WARNING:  could not determine encoding for locale "C.utf8": codeset is "ANSI_X3.4-1968"
NOTICE:  a: 10, b:
NOTICE:  _a: 10, _b: 20
DROP PROCEDURE test_proc1;

Same problem in 17devel and 16. (Did not try the older branches yet.)

I can't reproduce this on my Ubuntu 22.04 ARM64 instance with perl
5.38.2 installed via perlbrew, nor on a fresh Debian unstable with it's
perl 5.38.2. In both instances my LANG is set to en_US.UTF-8.

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

#3Christoph Berg
myon@debian.org
In reply to: Andrew Dunstan (#2)
Re: plperl and perl 5.38

Re: Andrew Dunstan

+WARNING: could not determine encoding for locale "C.utf8": codeset is "ANSI_X3.4-1968"

I can't reproduce this on my Ubuntu 22.04 ARM64 instance with perl 5.38.2
installed via perlbrew, nor on a fresh Debian unstable with it's perl
5.38.2. In both instances my LANG is set to en_US.UTF-8.

It was a problem on the perl side:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060456

(Fixed on Jan 12th)

Thanks for trying,
Christoph