Return-Path: X-Original-To: apmail-perl-embperl-archive@www.apache.org Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07B73178F5 for ; Thu, 23 Oct 2014 00:49:47 +0000 (UTC) Received: (qmail 97254 invoked by uid 500); 23 Oct 2014 00:49:46 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 97228 invoked by uid 500); 23 Oct 2014 00:49:46 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 97216 invoked by uid 99); 23 Oct 2014 00:49:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2014 00:49:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [178.63.92.236] (HELO sym2.noone.org) (178.63.92.236) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2014 00:49:21 +0000 Received: by sym2.noone.org (Postfix, from userid 1000) id 27FAA135A010; Thu, 23 Oct 2014 02:49:20 +0200 (CEST) Date: Thu, 23 Oct 2014 02:49:19 +0200 From: Axel Beckert To: embperl@perl.apache.org Subject: Re: Embperl test suite fails with at least CGI.pm 4.06 (likely CGI.pm >= 4.04) Message-ID: <20141023004919.GQ5405@sym.noone.org> Mail-Followup-To: embperl@perl.apache.org References: <20141015235410.GZ5405@sym.noone.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141015235410.GZ5405@sym.noone.org> X-Operating-System: Linux 3.2.0-4-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.4.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org 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