You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by ri...@ecos.de on 2014/11/04 05:48:01 UTC

AW: Embperl test suite fails with at least CGI.pm 4.06 (likely CGI.pm >= 4.04)

Hi Axel,

sorry for the late reply and thanks for the patch. I have taken a quick look
and it seems ok to me. I will test it more in detail and create a new
Embperl release during the next weeks

Regards Gerald


> -----Ursprüngliche Nachricht-----
> Von: Axel Beckert [mailto:abe@deuxchevaux.org]
> Gesendet: Donnerstag, 23. Oktober 2014 02:49
> An: embperl@perl.apache.org
> Betreff: Re: Embperl test suite fails with at least CGI.pm 4.06 (likely
CGI.pm
> >= 4.04)
> 
> Hi Gerald,
> 
> On Thu, Oct 16, 2014 at 01:54:10AM +0200, Axel Beckert wrote:
> > the following has been reported at https://bugs.debian.org/765125 and
> > -- according to our current understanding -- needs to be fixed for the
> > upcoming Debian Stable release as this breaks any Embperl installation
> > if a recent 4.xx CGI.pm version is installed, too.
> >
> > CGI.pm 4.04 removed "some deprecated some long deprecated
> > modules/functions and includes refactoring to the temporary file
> > handling in CGI.pm."
> >
> > This seems to have broken the meta data in $fdat{-upload}. After
> > installing CGI.pm 4.06, %fdat only contains this for
> > test/html/upload.htm:
> >
> >   'content' => 'Hi there!',
> >   'multval' => 'A   B       C',
> >   'single' => 'S',
> >   'upload' => bless( \*{'File::Temp::$fh'}, 'CGI::File::Temp' )
> 
> I've applied the following patch to the debian package so that Embperl can
> handle CGI.pm now (since version 4.04 IIRC) using CGI::File::Temp instead
of
> Fh. Additionally I had to make the testsuite more tolerant due to some
more
> possible results:
> 
> https://anonscm.debian.org/cgit/pkg-perl/packages/libembperl-
> perl.git/tree
> /debian/patches/cgi-pm-4.04-compatibility.patch
> 
> Please let me know if you find a better patch.
> 
> 		Kind regards, Axel
> --
> /~\  Plain Text Ribbon Campaign                   | Axel Beckert
> \ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org
> (Mail)
>  X   See http://www.nonhtmlmail.org/campaign.html | abe@noone.org
> (Mail+Jabber)
> / \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/
> (Web)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 
> 
> !DSPAM:416,544850b320532509216526!


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