Your message dated Sat, 15 Nov 2025 11:21:45 +0000 with message-id <736c7150dc08501cc89945035c406eaf9688e144.camel@adam-barratt.org.uk> and subject line Closing requests for updates included in 13.2 has caused the Debian Bug report #1115815, regarding trixie-pu: package eperl/2.2.16-1+deb13u1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1115815: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115815 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: trixie-pu: package eperl/2.2.16-1+deb13u1
- From: наб <nabijaczleweli@nabijaczleweli.xyz>
- Date: Fri, 19 Sep 2025 22:43:27 +0200
- Message-id: <pr65gukzk6jzdcrka7uphqcuuk34kjjfamqfpzsozm22lx2ti4@tarta.nabijaczleweli.xyz>
- Mail-followup-to: submit@bugs.debian.org
Package: release.debian.org Control: affects -1 + src:eperl X-Debbugs-Cc: eperl@packages.debian.org User: release.debian.org@packages.debian.org Usertags: pu Tags: trixie Severity: normal [ Reason ] eperl 2.2.15-1, when used with Perl 5.40, in scenarios most likely to happen when running under CGI, truncates the environment block to just 1 variable, rendering it basically useless for that purpose. [ Impact ] Regressing to no functional eperl CGI in trixie. [ Tests ] This test was developed for and under trixie, see the test log under https://bugs.debian.org/1114004#10 consisting of echo '<? foreach my $var (keys %ENV) {print "$var = $ENV{$var}\n"; } !>' > b.phtml env -i GATEWAY_INTERFACE=CGI/1.1 PATH_TRANSLATED="$PWD/b.phtml" eperl I reproduce these results when building this dsc on trixie. [ Risks ] The change is trivial and cannot regress. [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in (old)stable [x] the issue is verified as fixed in unstable [ Changes ] The upstream patch for this is imported. [ Other info ] From a surface analysis, the patch should be a no-op, but it isn't. I haven't managed to ascertain what's /actually/ going on in libperl to damage the environment block, just how to make it stop. I put the package on https://mentors.debian.net/package/eperl/ If this update is approved, it will need to be uploaded by a DD.diff -Nru eperl-2.2.15/debian/changelog eperl-2.2.15/debian/changelog --- eperl-2.2.15/debian/changelog 2024-11-17 23:10:38.000000000 +0100 +++ eperl-2.2.15/debian/changelog 2025-09-09 20:05:41.000000000 +0200 @@ -1,3 +1,12 @@ +eperl (2.2.15-1+bpo13u1) trixie; urgency=medium + + * Debian Team upload. + * d/p/0003: Pass environ to PERL_SYS_INIT()/perl_parse() implicitly + instead of explicitly to avoid the script getting + a truncated environment on Perl 5.40 (Closes: #1114004) + + -- наб <nabijaczleweli@nabijaczleweli.xyz> Tue, 09 Sep 2025 20:05:41 +0200 + eperl (2.2.15-1) unstable; urgency=medium * Team upload of Debian team diff -Nru eperl-2.2.15/debian/patches/0003-Pass-environ-to-PERL_SYS_INIT-perl_parse-implicitly-.patch eperl-2.2.15/debian/patches/0003-Pass-environ-to-PERL_SYS_INIT-perl_parse-implicitly-.patch --- eperl-2.2.15/debian/patches/0003-Pass-environ-to-PERL_SYS_INIT-perl_parse-implicitly-.patch 1970-01-01 01:00:00.000000000 +0100 +++ eperl-2.2.15/debian/patches/0003-Pass-environ-to-PERL_SYS_INIT-perl_parse-implicitly-.patch 2025-09-09 20:05:41.000000000 +0200 @@ -0,0 +1,61 @@ +From 2b37e0ea0f5af8558e1e4de7f7b4f954ccd0aa56 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= <nabijaczleweli@nabijaczleweli.xyz> +Date: Tue, 9 Sep 2025 16:52:30 +0200 +Subject: [PATCH] Pass environ to PERL_SYS_INIT()/perl_parse() implicitly + instead of explicitly to avoid the script getting a truncated environment on + Perl 5.40 +Origin: upstream +Bug-Debian: https://bugs.debian.org/1114004 +Applied-Upstream: 2.2.16, commit:2b37e0ea0f5af8558e1e4de7f7b4f954ccd0aa56 + +1. echo '<? foreach my $var (keys %ENV) {print "$var = $ENV{$var}\n"; } !>' > b.phtml +2. env -i GATEWAY_INTERFACE=CGI/1.1 PATH_TRANSLATED="$PWD/b.phtml" ./eperl +3. env -i GATEWAY_INTERFACE=CGI/1.1 PATH_TRANSLATED="$PWD/b.phtml" ./eperl -x +4. env -i GATEWAY_INTERFACE=CGI/1.1 PATH_TRANSLATED="$PWD/b.phtml" ./eperl '' + +3/4 will have the whole environment on bookworm and trixie. +2 will have the whole environment on bookworm (libperl5.36:i386 5.36.0-7+deb12u2) +but will only have one variable on trixie (libperl5.40:i386 5.40.1-6). + +The arguments have no effect on the generated code, environment, +or libperl parameters. + +If you add + if(!argv[optind]) argv[optind]=""; +to main() after the getopt() loop, +turning the argument sexion of the environment block +from (2, {"./eperl", NULL}) to (2, {"./eperl", ""}), +2 will also have the whole environment on trixie. + +This can be reproduced from the host process: +inspecting environ after perl_parse() also shows a truncated environment. + +Fixes: https://bugs.debian.org/1114004 +--- + eperl_perl5.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/eperl_perl5.c b/eperl_perl5.c +index 9e66772..a46679a 100644 +--- a/eperl_perl5.c ++++ b/eperl_perl5.c +@@ -126,14 +126,14 @@ int Perl5_Run(int myargc, char **myargv, enum runtime_mode mode, bool fCheck, bo + + + /* now allocate the Perl interpreter */ +- PERL_SYS_INIT3(&myargc, &myargv, &environ); ++ PERL_SYS_INIT(&myargc, &myargv); + my_perl = perl_alloc(); + perl_construct(my_perl); + + /* now parse the script! + NOTICE: At this point, the script gets + only _parsed_, not evaluated/executed! */ +- rc = perl_parse(my_perl, Perl5_XSInit, myargc, myargv, environ); ++ rc = perl_parse(my_perl, Perl5_XSInit, myargc, myargv, NULL); + if (rc != 0) { + IO_restore_stderr(); + stdfd_thread_cu(&perlstderr, &stderr_thread); +-- +2.39.5 + diff -Nru eperl-2.2.15/debian/patches/series eperl-2.2.15/debian/patches/series --- eperl-2.2.15/debian/patches/series 2024-11-17 23:10:38.000000000 +0100 +++ eperl-2.2.15/debian/patches/series 2025-09-09 20:05:41.000000000 +0200 @@ -1,2 +1,3 @@ 0001-Forward-configure-prefix-to-mod-Makefile.PL-configur.patch 0002-Forward-configure-C-CPP-LD-FLAGS-to-mod-Makefile.PL-.patch +0003-Pass-environ-to-PERL_SYS_INIT-perl_parse-implicitly-.patchAttachment: signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
- To: 1110859-done@bugs.debian.org, 1111236-done@bugs.debian.org, 1111733-done@bugs.debian.org, 1111734-done@bugs.debian.org, 1111808-done@bugs.debian.org, 1111819-done@bugs.debian.org, 1112097-done@bugs.debian.org, 1112120-done@bugs.debian.org, 1112256-done@bugs.debian.org, 1112261-done@bugs.debian.org, 1112276-done@bugs.debian.org, 1112282-done@bugs.debian.org, 1112283-done@bugs.debian.org, 1112380-done@bugs.debian.org, 1112479-done@bugs.debian.org, 1112557-done@bugs.debian.org, 1112668-done@bugs.debian.org, 1112671-done@bugs.debian.org, 1113711-done@bugs.debian.org, 1113750-done@bugs.debian.org, 1113757-done@bugs.debian.org, 1113761-done@bugs.debian.org, 1113778-done@bugs.debian.org, 1113799-done@bugs.debian.org, 1113804-done@bugs.debian.org, 1113860-done@bugs.debian.org, 1113882-done@bugs.debian.org, 1113902-done@bugs.debian.org, 1113904-done@bugs.debian.org, 1113961-done@bugs.debian.org, 1113979-done@bugs.debian.org, 1114595-done@bugs.debian.org, 1114684-done@bugs.debian.org, 1114755-done@bugs.debian.org, 1114855-done@bugs.debian.org, 1114929-done@bugs.debian.org, 1114979-done@bugs.debian.org, 1115257-done@bugs.debian.org, 1115486-done@bugs.debian.org, 1115530-done@bugs.debian.org, 1115749-done@bugs.debian.org, 1115815-done@bugs.debian.org, 1115860-done@bugs.debian.org, 1115899-done@bugs.debian.org, 1115914-done@bugs.debian.org, 1116012-done@bugs.debian.org, 1116020-done@bugs.debian.org, 1116040-done@bugs.debian.org, 1116053-done@bugs.debian.org, 1116127-done@bugs.debian.org, 1116196-done@bugs.debian.org, 1116201-done@bugs.debian.org, 1116386-done@bugs.debian.org, 1116523-done@bugs.debian.org, 1116526-done@bugs.debian.org, 1116547-done@bugs.debian.org, 1116575-done@bugs.debian.org, 1116665-done@bugs.debian.org, 1116705-done@bugs.debian.org, 1116938-done@bugs.debian.org, 1116945-done@bugs.debian.org, 1116983-done@bugs.debian.org, 1117467-done@bugs.debian.org, 1117469-done@bugs.debian.org, 1117828-done@bugs.debian.org, 1117843-done@bugs.debian.org, 1117876-done@bugs.debian.org, 1117909-done@bugs.debian.org, 1118008-done@bugs.debian.org, 1118037-done@bugs.debian.org, 1118047-done@bugs.debian.org, 1118228-done@bugs.debian.org, 1118374-done@bugs.debian.org, 1118434-done@bugs.debian.org, 1118443-done@bugs.debian.org, 1118458-done@bugs.debian.org, 1118547-done@bugs.debian.org, 1118657-done@bugs.debian.org, 1118663-done@bugs.debian.org, 1118673-done@bugs.debian.org, 1118674-done@bugs.debian.org, 1118737-done@bugs.debian.org, 1119085-done@bugs.debian.org, 1119088-done@bugs.debian.org, 1119115-done@bugs.debian.org, 1119136-done@bugs.debian.org, 1119142-done@bugs.debian.org, 1119256-done@bugs.debian.org, 1119286-done@bugs.debian.org, 1119287-done@bugs.debian.org, 1119288-done@bugs.debian.org, 1119291-done@bugs.debian.org, 1119301-done@bugs.debian.org, 1119303-done@bugs.debian.org, 1119719-done@bugs.debian.org, 1119798-done@bugs.debian.org, 1119854-done@bugs.debian.org, 1119909-done@bugs.debian.org, 1120048-done@bugs.debian.org, 1120050-done@bugs.debian.org, 1120054-done@bugs.debian.org, 1120125-done@bugs.debian.org, 1120129-done@bugs.debian.org, 1120143-done@bugs.debian.org, 1120145-done@bugs.debian.org, 1120148-done@bugs.debian.org, 1120151-done@bugs.debian.org, 1120262-done@bugs.debian.org, 1120278-done@bugs.debian.org, 1120289-done@bugs.debian.org, 1120325-done@bugs.debian.org, 1120345-done@bugs.debian.org, 1120350-done@bugs.debian.org, 1120358-done@bugs.debian.org, 1120360-done@bugs.debian.org, 1120445-done@bugs.debian.org
- Subject: Closing requests for updates included in 13.2
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 15 Nov 2025 11:21:45 +0000
- Message-id: <736c7150dc08501cc89945035c406eaf9688e144.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 13.2 Hi, The updates referenced in each of these bugs were included in today's 13.2 trixie point release. Regards, Adam
--- End Message ---