Hi Gerald,

Gerald Richter wrote on Sun, May 27, 2018 at 05:44:30PM +0200:
> As Dominic already wrote it's usually not much effort to adapt it to
> a new Perl version, but setting up the test environment takes time.

At least on Debian, Dominic's APT repository on
http://perl.debian.net/ helps a lot. But I suppose, your development
environment isn't really a Debian Unstable. :-)

> So if anybody can help with testing, I would like to keep Embperl
> working and also as part of Debian (any other distros).

Just uploaded a fixed libembperl-perl package to Debian Unstable with
all these patches applied:

https://salsa.debian.org/perl-team/modules/packages/libembperl-perl/tree/master/debian/patches

I'll also try to continue to take care of Embperl in Debian as before.
But Dominic's mail came during my holidays and I only noticed the
removal discussion rather late. (I hopefully killed that removal
discussion for now with my fix and upload. At least Embperl is
recognized as blocker for the Perl 5.28 transition in Debian. :-)

Relevant for building with Perl 5.28 is mostly this patch:
https://salsa.debian.org/perl-team/modules/packages/libembperl-perl/blob/master/debian/patches/fix-undefined-behaviour-causing-FTBFS-with-Perl-5.28.patch

I've also attached it to this mail. It's basically just fixing the
test suite as there's code in there which relied on undefined
behaviour. And that behaviour changed with Perl 5.28 due to some
performance optimizations. (Patch tested against Perl 5.26 and 5.28.)

Starting from a vanilla Embperl, those patches for Perl 5.20 and 5.22
need to be applied first, too, of course. Others, like the patch for
compatibility with recent CGI.pm versions and the one fixing unescaped
left braces very likely need to be applied, too, to build Embperl on
an uptodate system.

        Regards to all at ECOS who still know me :-) -- Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
Description: Make undefined behaviour defined and hence fix FTBFS with Perl 5.28
Author: Axel Beckert <a...@debian.org>
Bug-Debian: https://bugs.debian.org/899021
Forwarded: no

--- a/test/html/div.htm
+++ b/test/html/div.htm
@@ -200,7 +200,7 @@
 
 <P>
 
-[- $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; } -]
+[- $i = 0 ; while ($i < 10) { $ii[$i] = "ii[$i] = $i" ; $i++ ; } -]
 
 <table>
     <tr>
--- a/test/cmp/div.asc
+++ b/test/cmp/div.asc
@@ -208,7 +208,7 @@
 
 <P>
 
-[- $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; } -]
+[- $i = 0 ; while ($i < 10) { $ii[$i] = "ii[$i] = $i" ; $i++ ; } -]
 
 <table>
     <tr>
--- a/test/html/EmbperlObject/epodiv.htm
+++ b/test/html/EmbperlObject/epodiv.htm
@@ -202,7 +202,7 @@
 
 <P>
 
-[- $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; } -]
+[- $i = 0 ; while ($i < 10) { $ii[$i] = "ii[$i] = $i" ; $i++ ; } -]
 
 
 [- $i = 0 -]
--- a/test/html/match/div.asc
+++ b/test/html/match/div.asc
@@ -208,7 +208,7 @@
 
 <P>
 
-[- $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; } -]
+[- $i = 0 ; while ($i < 10) { $ii[$i] = "ii[$i] = $i" ; $i++ ; } -]
 
 <table>
     <tr>
--- a/test/html/match/div.htm
+++ b/test/html/match/div.htm
@@ -200,7 +200,7 @@
 
 <P>
 
-[- $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; } -]
+[- $i = 0 ; while ($i < 10) { $ii[$i] = "ii[$i] = $i" ; $i++ ; } -]
 
 <table>
     <tr>
--- a/test/html/nph/div.htm
+++ b/test/html/nph/div.htm
@@ -200,7 +200,7 @@
 
 <P>
 
-[- $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; } -]
+[- $i = 0 ; while ($i < 10) { $ii[$i] = "ii[$i] = $i" ; $i++ ; } -]
 
 <table>
     <tr>
--- a/test/html/ofunc/div.htm
+++ b/test/html/ofunc/div.htm
@@ -200,7 +200,7 @@
 
 <P>
 
-[- $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; } -]
+[- $i = 0 ; while ($i < 10) { $ii[$i] = "ii[$i] = $i" ; $i++ ; } -]
 
 <table>
     <tr>
--- a/test/html/opmask/opmasktrap.htm
+++ b/test/html/opmask/opmasktrap.htm
@@ -208,7 +208,7 @@
 
 <P>
 
-[- $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; } -]
+[- $i = 0 ; while ($i < 10) { $ii[$i] = "ii[$i] = $i" ; $i++ ; } -]
 
 <table>
     <tr>
--- a/test/html/safe/safe.htm
+++ b/test/html/safe/safe.htm
@@ -208,7 +208,7 @@
 
 <P>
 
-[- $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; } -]
+[- $i = 0 ; while ($i < 10) { $ii[$i] = "ii[$i] = $i" ; $i++ ; } -]
 
 <table>
     <tr>

Attachment: signature.asc
Description: Digital signature

Reply via email to