perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Beckert <...@deuxchevaux.org>
Subject Re: Embperl test suite fails with at least CGI.pm 4.06 (likely CGI.pm >= 4.04)
Date Thu, 23 Oct 2014 00:49:19 GMT
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


Mime
View raw message