Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 77421
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: ftl [...] dnv.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.003
Fixed in: (no value)



Subject: Setting unexpected(?) environment variables
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 712
Download (untitled) / with headers
text/plain 712b
Thanks a lot for making Strawberry! We are working on using straw 5.16 as new std platform, and it works great, except... Installing strawberry-perl-5.16.0.1-64bit.msi sets the two environment variables PERL_JSON_BACKEND=JSON::XS PERL_YAML_BACKEND=YAML These are normally good, but with other (older) perl versions on the production server as well, this created some unexpected features after next reboot (when iis updated its envoronment). This 'feature' was also available in beta3. I presume these env-variables should be optional or more explicitely described as part of readme, as they may generate unexpected side- effects in mixed environments. Again, thanks a lot for a great package! Frode
From kmx [...] volny.cz Fri May 25 07: 24:32 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-4.306 tagged_above=-99.9 required=10 tests=[AWL=1.815, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-22048-1337937953-988.77421-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-77421 [...] rt.cpan.org> <rt-3.8.HEAD-22048-1337937953-988.77421-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <4FBF6BE5.8060603 [...] volny.cz>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
X-Spam-Score: -4.306
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 1AF282402F5 for <cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com>; Fri, 25 May 2012 07:24:32 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZQrhqpoklCCc for <cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com>; Fri, 25 May 2012 07:24:30 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id CB64F240122 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Fri, 25 May 2012 07:24:29 -0400 (EDT)
Received: (qmail 4317 invoked by uid 103); 25 May 2012 11:24:28 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 25 May 2012 11:24:28 -0000
Received: from smtp.volny.cz (HELO smtp.volny.cz) (62.44.29.27) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Fri, 25 May 2012 04:24:25 -0700
Received: from [193.84.252.215] (asuka.dcit.cz [193.84.252.215]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.volny.cz (Postfix) with ESMTP id E12F9C0326 for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Fri, 25 May 2012 13:24:21 +0200 (CEST)
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
Subject: Re: [rt.cpan.org #77421] Setting unexpected(?) environment variables
Return-Path: <kmx [...] volny.cz>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com
X-RT-Mail-Extension: perl-dist-strawberry
Date: Fri, 25 May 2012 13:24:21 +0200
X-Spam-Level:
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: kmx <kmx [...] volny.cz>
RT-Message-ID: <rt-3.8.HEAD-30791-1337945072-467.77421-0-0 [...] rt.cpan.org>
Content-Length: 691
Download (untitled) / with headers
text/plain 691b
Show quoted text
> Installing strawberry-perl-5.16.0.1-64bit.msi sets the two environment > variables > > PERL_JSON_BACKEND=JSON::XS > PERL_YAML_BACKEND=YAML > > These are normally good, but with other (older) perl versions on the > production server as well, this created some unexpected features after > next reboot (when iis updated its envoronment).
Well, I have to track down what was the reason for setting them in the past. Maybe the reason is no more valid and we can leave out both variables in the next release. It would help if you can test whether strawberry perl will work as expected after unsetting both variables (IIRC the trouble was with CPAN client) Thanks for your report. -- kmx
MIME-Version: 1.0
Content-Class: urn:content-classes:message
X-Bigfish: VPS-11(zz542M1432Nzz1202hzz8275dhz2fh668h839h93fhd25hf0ah)
X-Spam-Flag: NO
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.9
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id B62572403A2 for <cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com>; Thu, 31 May 2012 16:10:17 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wcW-ZUHSenIR for <cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com>; Thu, 31 May 2012 16:10:14 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id C3DD924032B for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Thu, 31 May 2012 16:10:13 -0400 (EDT)
Received: (qmail 27672 invoked by uid 103); 31 May 2012 20:10:12 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 31 May 2012 20:10:12 -0000
Received: from tx2ehsobe004.messaging.microsoft.com (HELO tx2outboundpool.messaging.microsoft.com) (65.55.88.14) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Thu, 31 May 2012 13:10:08 -0700
Received: from mail85-tx2-R.bigfish.com (10.9.14.244) by TX2EHSOBE006.bigfish.com (10.9.40.26) with Microsoft SMTP Server id 14.1.225.23; Thu, 31 May 2012 20:09:36 +0000
Received: from mail85-tx2 (localhost [127.0.0.1]) by mail85-tx2-R.bigfish.com (Postfix) with ESMTP id 9AA7B16049D for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Thu, 31 May 2012 20:09:36 +0000 (UTC)
Received: from mail85-tx2 (localhost.localdomain [127.0.0.1]) by mail85-tx2 (MessageSwitch) id 1338494974314959_28375; Thu, 31 May 2012 20:09:34 +0000 (UTC)
Received: from TX2EHSMHS021.bigfish.com (unknown [10.9.14.248]) by mail85-tx2.bigfish.com (Postfix) with ESMTP id 408AA6004B for <bug-Perl-Dist-Strawberry [...] rt.cpan.org>; Thu, 31 May 2012 20:09:34 +0000 (UTC)
Received: from dnv.com (193.212.132.158) by TX2EHSMHS021.bigfish.com (10.9.99.121) with Microsoft SMTP Server id 14.1.225.23; Thu, 31 May 2012 20:09:33 +0000
Received: from OSL1064.verit.dnv.com ([172.25.16.64]) by dnv.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 31 May 2012 22:31:14 +0200
Received: from osl218.verit.dnv.com (172.16.34.218) by OSL1064.verit.dnv.com (172.25.16.64) with Microsoft SMTP Server id 14.2.298.4; Thu, 31 May 2012 22:10:01 +0200
Delivered-To: cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com
Subject: RE: [rt.cpan.org #77421] Setting unexpected(?) environment variables
X-Spam-Check-BY: 16.mx.develooper.com
Thread-Index: Ac06aQcQNCaiBqKGR3+OvEwnhHejJAE/+x7Q
Date: Thu, 31 May 2012 22:09:59 +0200
X-Originatororg: dnvkema.com
X-Spam-Level:
X-Mimeole: Produced By Microsoft Exchange V6.5
X-Spamscore: -11
To: <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
Content-Transfer-Encoding: base64
X-Forefront-Antispam-Report: CIP:193.212.132.158;KIP:(null);UIP:(null);IPV:NLI;H:dnv.com;RD:dmz158.dnv.com;EFVD:NLI
From Frode.Thue.Lie [...] dnvkema.com Thu May 31 16: 10:17 2012
X-Originalarrivaltime: 31 May 2012 20:31:14.0968 (UTC) FILETIME=[53454980:01CD3F6C]
In-Reply-To: <rt-3.8.HEAD-30791-1337945073-163.77421-6-0 [...] rt.cpan.org>
X-Spam-Status: No, score=-6.9 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
Received-SPF: pass (mail85-tx2: domain of dnvkema.com designates 193.212.132.158 as permitted sender) client-ip=193.212.132.158; envelope-from=Frode.Thue.Lie [...] dnvkema.com; helo=dnv.com ;helo=dnv.com ;
References: <RT-Ticket-77421 [...] rt.cpan.org> <rt-3.8.HEAD-22048-1337937953-988.77421-4-0 [...] rt.cpan.org> <4FBF6BE5.8060603 [...] volny.cz> <rt-3.8.HEAD-30791-1337945073-163.77421-6-0 [...] rt.cpan.org>
Message-ID: <2A504FBEBB50484FB02872114AF26FC1012D5F8E [...] osl218.verit.dnv.com>
X-MS-Tnef-Correlator:
Return-Path: <Frode.Thue.Lie [...] dnvkema.com>
X-RT-Mail-Extension: perl-dist-strawberry
X-Original-To: cpan-bug+Perl-Dist-Strawberry [...] hipster.bestpractical.com
Thread-Topic: [rt.cpan.org #77421] Setting unexpected(?) environment variables
X-MS-Has-Attach:
From: <Frode.Thue.Lie [...] dnvkema.com>
RT-Message-ID: <rt-3.8.HEAD-28315-1338495018-409.77421-0-0 [...] rt.cpan.org>
Content-Length: 1381
Download (untitled) / with headers
text/plain 1.3k
Hi, Tested a little without these env vars, and seems to work fine, but I presume there are some old odd cases where pp does not work as expected. So should really like to know where this aroused from. (so yes, works fine on my machine, which does not prove it works in the general sense. (I'll try to look more into the tests to see if I find anything to look for,) Frode Show quoted text
-----Original Message----- From: kmx via RT [mailto:bug-Perl-Dist-Strawberry@rt.cpan.org] Sent: 25. mai 2012 13:25 To: Lie, Frode T. Subject: Re: [rt.cpan.org #77421] Setting unexpected(?) environment variables <URL: https://rt.cpan.org/Ticket/Display.html?id=77421 >
> Installing strawberry-perl-5.16.0.1-64bit.msi sets the two environment > variables > > PERL_JSON_BACKEND=JSON::XS > PERL_YAML_BACKEND=YAML > > These are normally good, but with other (older) perl versions on the > production server as well, this created some unexpected features after > next reboot (when iis updated its envoronment).
Well, I have to track down what was the reason for setting them in the past. Maybe the reason is no more valid and we can leave out both variables in the next release. It would help if you can test whether strawberry perl will work as expected after unsetting both variables (IIRC the trouble was with CPAN client) Thanks for your report. -- kmx
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-28315-1338495018-409.77421-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-77421 [...] rt.cpan.org> <rt-3.8.HEAD-22048-1337937953-988.77421-4-0 [...] rt.cpan.org> <4FBF6BE5.8060603 [...] volny.cz> <rt-3.8.HEAD-30791-1337945073-163.77421-6-0 [...] rt.cpan.org> <2A504FBEBB50484FB02872114AF26FC1012D5F8E [...] osl218.verit.dnv.com> <rt-3.8.HEAD-28315-1338495018-409.77421-0-0 [...] rt.cpan.org>
Content-Type: text/html; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-4002-1338497210-1667.77421-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 238
I think it was related to https://rt.cpan.org/Ticket/Display.html?id=54729

BTW: I have removed both variables also on my Windows box and have not experienced any troubles up to now.

--
kmx

MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-4002-1338497210-1667.77421-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-77421 [...] rt.cpan.org> <rt-3.8.HEAD-22048-1337937953-988.77421-4-0 [...] rt.cpan.org> <4FBF6BE5.8060603 [...] volny.cz> <rt-3.8.HEAD-30791-1337945073-163.77421-6-0 [...] rt.cpan.org> <2A504FBEBB50484FB02872114AF26FC1012D5F8E [...] osl218.verit.dnv.com> <rt-3.8.HEAD-28315-1338495018-409.77421-0-0 [...] rt.cpan.org> <rt-3.8.HEAD-4002-1338497210-1667.77421-0-0 [...] rt.cpan.org>
Content-Type: text/html; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-19690-1344601323-1837.77421-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 72
I have just released strawberry perl 5.16.1.1 with fix for this RT


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.