| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| From: | "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | perl-5.10.0-4 -> perl-5.10.0-5 update appears to break DateTime |
| Date: | Tue, 8 Jul 2008 00:06:39 -0500 |
| Message-ID: | <BC63B2B8CA0F4F81B6C0241599C8178E@DFW5RB41> |
| MIME-Version: | 1.0 |
| X-Mailer: | Microsoft Office Outlook 11 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
------=_NextPart_000_000F_01C8E08E.7F96B460
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hi Reini,
It looks like something changed between perl 5.10.0-4 and -5 which breaks
the DateTime module from CPAN (version 0.4302, latest). The attached Simple
Test Case(tm) results in only the following errors:
Use of uninitialized value $id in pattern match (m//) at
/usr/lib/perl5/site_perl/5.10/DateTime/Locale.pm line 65.
Use of uninitialized value $id in exists at
/usr/lib/perl5/site_perl/5.10/DateTime/Locale.pm line 68.
Use of uninitialized value $native_pieces[0] in join or string at
/usr/lib/perl5/site_perl/5.10/DateTime/Locale.pm line 83.
Use of uninitialized value $id in hash element at
/usr/lib/perl5/site_perl/5.10/DateTime/Locale.pm line 85.
Use of uninitialized value $id in hash element at
/usr/lib/perl5/site_perl/5.10/DateTime/Locale.pm line 90.
Use of uninitialized value $id in pattern match (m//) at
/usr/lib/perl5/site_perl/5.10/DateTime/Locale.pm line 65.
Use of uninitialized value $id in exists at
/usr/lib/perl5/site_perl/5.10/DateTime/Locale.pm line 68.
Use of uninitialized value $id in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.10/DateTime/Locale.pm line 68.
You cannot replace an existing locale ('') unless you also specify the
'replace' parameter as true
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.10/DateTime/Locale.pm line 151.
Compilation failed in require at
/usr/lib/perl5/site_perl/5.10/i686-cygwin/DateTime.pm line 46.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.10/i686-cygwin/DateTime.pm line 46.
Compilation failed in require at ./simple_test_case_datetime.pl line 3.
BEGIN failed--compilation aborted at ./simple_test_case_datetime.pl line 3.
Doing the "perl -MExtUtils::Installed [...]"/"cpan `cat module.list`" thing
(and also a "force install DateTime") results in the same errors, and
needless to say doesn't end up generating a working DateTime module. This
same version of DateTime did work without error in 5.10.0-4 and does work
with 5.8.8-4.
--
Gary R. Van Sickle
------=_NextPart_000_000F_01C8E08E.7F96B460
Content-Type: application/octet-stream;
name="simple_test_case_datetime.pl"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="simple_test_case_datetime.pl"
#!/bin/perl
use DateTime;
exit 0;
------=_NextPart_000_000F_01C8E08E.7F96B460
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
------=_NextPart_000_000F_01C8E08E.7F96B460--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |