Mailing List Archive

Patch for building Embperl with Perl 5.28 (was: Re: Proposal to remove Embperl from Debian)
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 <abe@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
Re: Patch for building Embperl with Perl 5.28 (was: Re: Proposal to remove Embperl from Debian) [ In reply to ]
Hi Axel,

happy to hear from you. Thanks very much for the patch. I try to find some spare time during the next weeks to build and release a new Version of Embperl including your patch

Regards

Gerald


----- Ursprüngliche Mail -----
Von: "Axel Beckert" <abe@debian.org>
An: "Gerald Richter, ECOS Technology" <gerald.richter@ecos.de>
CC: "Dominic Hargreaves" <dom@earth.li>, "embperl" <embperl@perl.apache.org>
Gesendet: Donnerstag, 28. Juni 2018 02:45:15
Betreff: Patch for building Embperl with Perl 5.28 (was: Re: Proposal to remove Embperl from Debian)

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 <abe@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

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org