Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id:
7225
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
ron [...] savage.net.au
rsav [...] deakin.edu.au
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
1.12_03
Fixed in:
(no value)



Subject: Time::Local problem with V 1.12_03
After running 'nmake' I tried t/test.t. Note: Local time is wrong. It is actually 11:15:15. C:\perl-modules\Archive-Zip-1.12_03>perl t/test.t 1..123 # Running under perl version 5.008004 for MSWin32 # Win32::BuildNumber 810 # Current time local: Tue Aug 3 01:15:15 2004 # Current time GMT: Tue Aug 3 01:15:15 2004 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 ok 4 ok 5 warning [testout.zip]: zipfile is empty ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 68. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 69. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 14 ok 15 ok 16 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 ok 44 ok 45 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 46 ok 47 ok 48 ok 49 ok 50 ok 51 ok 52 ok 53 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 54 ok 55 ok 56 ok 57 ok 58 ok 59 ok 60 ok 61 ok 62 ok 63 ok 64 ok 65 ok 66 ok 67 ok 68 ok 69 ok 70 ok 71 ok 72 ok 73 ok 74 ok 75 ok 76 ok 77 ok 78 ok 79 ok 80 ok 81 ok 82 ok 83 ok 84 ok 85 ok 86 ok 87 ok 88 ok 89 ok 90 ok 91 ok 92 ok 93 ok 94 ok 95 ok 96 ok 97 ok 98 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 99 ok 100 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 101 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 102 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 103 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 104 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 105 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 106 Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in integer multiplication (*) at c:/Perl/lib/Time/Local.pm line 76. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in pack at c:/Perl/lib/Time/Local.pm line 67. Use of uninitialized value in integer addition (+) at c:/Perl/lib/Time/Local.pm line 67. ok 107 ok 108 ok 109 ok 110 ok 111 ok 112 ok 113 ok 114 ok 115 ok 116 ok 117 ok 118 ok 119 ok 120 ok 121 ok 122 ok 123
[guest - Mon Aug 2 21:18:58 2004]:
Show quoted text
> After running 'nmake' I tried t/test.t. > Note: Local time is wrong. It is actually 11:15:15. > > C:\perl-modules\Archive-Zip-1.12_03>perl t/test.t > 1..123 > # Running under perl version 5.008004 for MSWin32 > # Win32::BuildNumber 810 > # Current time local: Tue Aug 3 01:15:15 2004 > # Current time GMT: Tue Aug 3 01:15:15 2004 > # Using Test.pm version 1.25
[snip]
Show quoted text
> Use of uninitialized value in integer addition (+) at > c:/Perl/lib/Time/Local.pm line 76. > Use of uninitialized value in integer multiplication (*) at > c:/Perl/lib/Time/Local.pm line 76. > Use of uninitialized value in integer multiplication (*) at > c:/Perl/lib/Time/Local.pm line 76.
I don't know. I don't think this is an A::Z problem, and I can't do anything to fix it AFAICT. Sounds like a Time::Local problem, since: (a) I'm passing numbers to it, not undefs (you'd see an earlier error if there were any undefs since I'm doing math on them), and (b) it says that it does range checks on the arguments to timelocal(). Are you sure that you have the most recent version of this module? Does the Time::Local test suite run OK? What happens when you say: perl -W -MTime::Local -e 'print Time::Local::timelocal( localtime() )' If you see the same things, please take it up with the module maintainer. Can you run the debugger on it and see what's happening? Thanks, Ned
From: Steve Peters
[NEDKONZ - Mon Aug 2 21:48:06 2004]:
Show quoted text
> [guest - Mon Aug 2 21:18:58 2004]: >
> > After running 'nmake' I tried t/test.t. > > Note: Local time is wrong. It is actually 11:15:15. > > > > C:\perl-modules\Archive-Zip-1.12_03>perl t/test.t > > 1..123 > > # Running under perl version 5.008004 for MSWin32 > > # Win32::BuildNumber 810 > > # Current time local: Tue Aug 3 01:15:15 2004 > > # Current time GMT: Tue Aug 3 01:15:15 2004 > > # Using Test.pm version 1.25
> [snip]
> > Use of uninitialized value in integer addition (+) at > > c:/Perl/lib/Time/Local.pm line 76. > > Use of uninitialized value in integer multiplication (*) at > > c:/Perl/lib/Time/Local.pm line 76. > > Use of uninitialized value in integer multiplication (*) at > > c:/Perl/lib/Time/Local.pm line 76.
> > I don't know. I don't think this is an A::Z problem, and I can't do > anything to fix it AFAICT. > > Sounds like a Time::Local problem, since: > (a) I'm passing numbers to it, not undefs (you'd see an earlier error if > there were any undefs since I'm doing math on them), and > (b) it says that it does range checks on the arguments to timelocal(). > > Are you sure that you have the most recent version of this module? > > Does the Time::Local test suite run OK? > > What happens when you say: > > perl -W -MTime::Local -e 'print Time::Local::timelocal( localtime() )' > > If you see the same things, please take it up with the module maintainer. > > Can you run the debugger on it and see what's happening? > > Thanks, > Ned
Actually, there is a problem with Time::Local's handling of negative epochs on Win32. This problem has been fixed with Time::Local version 1.11. This is not a bug in Archive::Zip.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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