Hi Dave,
>
>
> On Tue, 7 Oct 2003, Hill, Ronald wrote:
>
> > Thanks for that!! I just started looking at the sunrise module
> > to do some updates for preserving the timezone.
> >
> > I just installed the new release of DateTime 0.1704
> > and all tests now pass for sunrise :)
>
> 0.1704 is really broken so try it again with 0.1705 just to
> make sure ;)
>
Oh dear!!
I have installed the new DateTime update and tests for sunrise
fail :(
the 04 version was working. Here is the results
F:\perl_modules\DateTime-0.1704>perl makefile.pl
Testing if you have a C compiler
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl /c test.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
test.c
Checking if your kit is complete...
Looks good
Writing Makefile for DateTime
F:\perl_modules\DateTime-0.1704>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp lib/DateTime.pm blib\lib\DateTime.pm
cp lib/DateTimePP.pm blib\lib\DateTimePP.pm
cp lib/DateTime/Duration.pm blib\lib\DateTime/Duration.pm
cp lib/DateTimePPExtra.pm blib\lib\DateTimePPExtra.pm
cp lib/DateTime/Infinite.pm blib\lib\DateTime/Infinite.pm
cp lib/DateTime/LeapSecond.pm blib\lib\DateTime/LeapSecond.pm
F:\perl\bin\perl.exe F:\Perl\lib\ExtUtils/xsubpp -typemap
F:\Perl\lib\ExtUtils\typemap
eTime.xs > DateTime.xsc && F:\perl\bin\perl.exe -MExtUtils::Command -e mv
DateTime.xsc DateTime.c
cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_STRICT -DHAVE_DES_FCRYP
DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1
VERSION=\"0.1704\" -DXS_VERSION=\"0.1704\" "-IF:\Perl\lib\CORE"
DateTime.c
DateTime.c
DateTime.xs(129) : warning C4244: '=' : conversion from 'double ' to 'long
', possible loss of da
"Running Mkbootstrap for DateTime ()"
F:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 DateTime.bs
F:\perl\bin\perl.exe -MExtUtils::Mksymlists -e
"Mksymlists('NAME'=>\"DateTime\", 'DLBASE
> 'DateTime', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { },
'DL_VARS' => []);"
link -out:blib\arch\auto\DateTime\DateTime.dll -dll -nologo
-nodefaultlib -release -libp
:"C:\Perl\lib\CORE" -machine:x86 DateTime.obj F:\Perl\lib\CORE\perl58.lib
oldnames.lib kernel3
ib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.li
netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib
odbccp32.lib msvcrt.l
-def:DateTime.def
Creating library blib\arch\auto\DateTime\DateTime.lib and object
blib\arch\auto\DateTime\DateT
.exp
F:\perl\bin\perl.exe -MExtUtils::Command -e chmod 755
blib\arch\auto\DateTime\DateTime.dl
F:\perl\bin\perl.exe -MExtUtils::Command -e cp DateTime.bs
blib\arch\auto\DateTime\DateTi
bs
F:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644
blib\arch\auto\DateTime\DateTime.bs
F:\perl_modules\DateTime-0.1704>nmake install
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Skipping F:\Perl\site\lib\auto\DateTime\DateTime.bs (unchanged)
Installing F:\Perl\site\lib\auto\DateTime\DateTime.dll
Installing F:\Perl\site\lib\auto\DateTime\DateTime.exp
Installing F:\Perl\site\lib\auto\DateTime\DateTime.lib
Installing F:\Perl\site\lib\DateTime.pm
Skipping F:\Perl\site\lib\DateTimePP.pm (unchanged)
Skipping F:\Perl\site\lib\DateTimePPExtra.pm (unchanged)
Installing F:\Perl\site\lib\DateTime\Duration.pm
Skipping F:\Perl\site\lib\DateTime\Infinite.pm (unchanged)
Skipping F:\Perl\site\lib\DateTime\LeapSecond.pm (unchanged)
Writing F:\Perl\site\lib\auto\DateTime\.packlist
Appending installation info to F:\Perl\lib/perllocal.pod
F:\perl_modules\DateTime-0.1704>g:
G:\>cd modules
G:\modules>cd datetime-event-sunrise
G:\modules\DateTime-Event-Sunrise>perl makefile.pl
Checking if your kit is complete...
Looks good
Writing Makefile for DateTime::Event::Sunrise
G:\modules\DateTime-Event-Sunrise>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp lib/DateTime/Event/Sunrise.pm blib\lib\DateTime/Event/Sunrise.pm
G:\modules\DateTime-Event-Sunrise>nmake test
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
F:\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\ar
)" t\00load.t t\01basic.t
t\00load.....ok
t\01basic....ok
All tests successful.
Files=2, Tests=16, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)
G:\modules\DateTime-Event-Sunrise>
G:\modules\DateTime-Event-Sunrise>f:
F:\perl_modules\DateTime-0.1704>cd ..
F:\perl_modules>cd datetime-0.1705
F:\perl_modules\DateTime-0.1705>nmake distclean
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
F:\perl\bin\Perl.exe -IF:\Perl\lib -IF:\Perl\lib -MExtUtils::Command
-e rm_rf DateTime.c ./
lib Makefile.aperl blib\arch\auto\DateTime/extralibs.all perlmain.c mon.out
core core.*perl.*.? *pe
l.core so_locations pm_to_blib *.obj *.lib perl.exe DateTime.bs DateTime.bso
DateTime.def DateTime.
xp
F:\perl\bin\Perl.exe -IF:\Perl\lib -IF:\Perl\lib -MExtUtils::Command
-e mv Makefile Makefil
.old > NUL
F:\perl\bin\Perl.exe -IF:\Perl\lib -IF:\Perl\lib -MExtUtils::Command
-e rm_rf blib\lib\auto
DateTime blib\arch\auto\DateTime
F:\perl\bin\Perl.exe -IF:\Perl\lib -IF:\Perl\lib -MExtUtils::Command
-e rm_f blib\arch\auto
DateTime\DateTime.dll blib\arch\auto\DateTime\DateTime.bs
F:\perl\bin\Perl.exe -IF:\Perl\lib -IF:\Perl\lib -MExtUtils::Command
-e rm_f blib\arch\auto
DateTime\DateTime.lib
F:\perl\bin\Perl.exe -IF:\Perl\lib -IF:\Perl\lib -MExtUtils::Command
-e rm_f blib\lib\Date
ime\LeapSecond.pm blib\lib\DateTime\Infinite.pm
F:\perl\bin\Perl.exe -IF:\Perl\lib -IF:\Perl\lib -MExtUtils::Command
-e rm_f blib\lib\DateT
me\Duration.pm blib\lib\DateTime.pm
F:\perl\bin\Perl.exe -IF:\Perl\lib -IF:\Perl\lib -MExtUtils::Command
-e rm_f blib\lib\DateT
mePPExtra.pm blib\lib\DateTimePP.pm
F:\perl\bin\Perl.exe -IF:\Perl\lib -IF:\Perl\lib -MExtUtils::Command
-e rm_rf Makefile Make
ile.old
F:\perl\bin\Perl.exe -IF:\Perl\lib -IF:\Perl\lib
-MExtUtils::Manifest=fullcheck -e fullche
k
F:\perl_modules\DateTime-0.1705>perl makefile.pl
Testing if you have a C compiler
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl /c test.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
test.c
Checking if your kit is complete...
Looks good
Writing Makefile for DateTime
F:\perl_modules\DateTime-0.1705>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp lib/DateTime.pm blib\lib\DateTime.pm
cp lib/DateTimePP.pm blib\lib\DateTimePP.pm
cp lib/DateTime/Duration.pm blib\lib\DateTime/Duration.pm
cp lib/DateTimePPExtra.pm blib\lib\DateTimePPExtra.pm
cp lib/DateTime/Infinite.pm blib\lib\DateTime/Infinite.pm
cp lib/DateTime/LeapSecond.pm blib\lib\DateTime/LeapSecond.pm
F:\perl\bin\perl.exe F:\Perl\lib\ExtUtils/xsubpp -typemap
F:\Perl\lib\ExtUtils\typemap Da
eTime.xs > DateTime.xsc && F:\perl\bin\perl.exe -MExtUtils::Command -e mv
DateTime.xsc DateTime.c
cl -c -nologo -Gf -W3 -MD -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_STRICT -DHAVE_DES_FCRYPT
DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -DNDEBUG -O1 -
VERSION=\"0.1705\" -DXS_VERSION=\"0.1705\" "-IF:\Perl\lib\CORE"
DateTime.c
DateTime.c
DateTime.xs(129) : warning C4244: '=' : conversion from 'double ' to 'long
', possible loss of data
"Running Mkbootstrap for DateTime ()"
F:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 DateTime.bs
F:\perl\bin\perl.exe -MExtUtils::Mksymlists -e
"Mksymlists('NAME'=>\"DateTime\", 'DLBASE'
> 'DateTime', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { },
'DL_VARS' => []);"
link -out:blib\arch\auto\DateTime\DateTime.dll -dll -nologo
-nodefaultlib -release -libpat
:"C:\Perl\lib\CORE" -machine:x86 DateTime.obj F:\Perl\lib\CORE\perl58.lib
oldnames.lib kernel32.
ib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib
netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib
odbccp32.lib msvcrt.lib
-def:DateTime.def
Creating library blib\arch\auto\DateTime\DateTime.lib and object
blib\arch\auto\DateTime\DateTim
.exp
F:\perl\bin\perl.exe -MExtUtils::Command -e chmod 755
blib\arch\auto\DateTime\DateTime.dll
F:\perl\bin\perl.exe -MExtUtils::Command -e cp DateTime.bs
blib\arch\auto\DateTime\DateTime
bs
F:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644
blib\arch\auto\DateTime\DateTime.bs
F:\perl_modules\DateTime-0.1705>nmake install
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Skipping F:\Perl\site\lib\auto\DateTime\DateTime.bs (unchanged)
Installing F:\Perl\site\lib\auto\DateTime\DateTime.dll
Installing F:\Perl\site\lib\auto\DateTime\DateTime.exp
Installing F:\Perl\site\lib\auto\DateTime\DateTime.lib
Installing F:\Perl\site\lib\DateTime.pm
Skipping F:\Perl\site\lib\DateTimePP.pm (unchanged)
Skipping F:\Perl\site\lib\DateTimePPExtra.pm (unchanged)
Skipping F:\Perl\site\lib\DateTime\Duration.pm (unchanged)
Skipping F:\Perl\site\lib\DateTime\Infinite.pm (unchanged)
Skipping F:\Perl\site\lib\DateTime\LeapSecond.pm (unchanged)
Writing F:\Perl\site\lib\auto\DateTime\.packlist
Appending installation info to F:\Perl\lib/perllocal.pod
F:\perl_modules\DateTime-0.1705>g:
G:\modules\DateTime-Event-Sunrise>nmake distclean
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
F:\perl\bin\perl.exe -MExtUtils::Command -e rm_rf ./blib
Makefile.aperl blib\arch\auto\Date
ime\Event\Sunrise/extralibs.all perlmain.c tmon.out mon.out so_locations
pm_to_blib *.obj *.lib per
.exe perl perl.exe Sunrise.bso Sunrise.def libSunrise.def Sunrise.exp
Sunrise.x core core.*perl.*.
*perl.core
F:\perl\bin\perl.exe -MExtUtils::Command -e mv Makefile Makefile.old
> NUL
F:\perl\bin\perl.exe -MExtUtils::Command -e rm_f *.pdb
F:\perl\bin\perl.exe -MExtUtils::Command -e rm_rf
blib\lib\auto\DateTime\Event\Sunrise blib
arch\auto\DateTime\Event\Sunrise
F:\perl\bin\perl.exe -MExtUtils::Command -e rm_rf
DateTime-Event-Sunrise-0.04
F:\perl\bin\perl.exe -MExtUtils::Command -e rm_f
blib\lib\DateTime/Event/Sunrise.pm
F:\perl\bin\perl.exe -MExtUtils::Command -e rm_rf Makefile
Makefile.old
F:\perl\bin\perl.exe "-MExtUtils::Manifest=fullcheck" -e fullcheck
Not in MANIFEST: CVS/Entries
Not in MANIFEST: CVS/Repository
Not in MANIFEST: CVS/Root
Not in MANIFEST: lib/CVS/Entries
Not in MANIFEST: lib/CVS/Repository
Not in MANIFEST: lib/CVS/Root
Not in MANIFEST: lib/DateTime/CVS/Entries
Not in MANIFEST: lib/DateTime/CVS/Repository
Not in MANIFEST: lib/DateTime/CVS/Root
Not in MANIFEST: lib/DateTime/Event/CVS/Entries
Not in MANIFEST: lib/DateTime/Event/CVS/Repository
Not in MANIFEST: lib/DateTime/Event/CVS/Root
Not in MANIFEST: t/CVS/Entries
Not in MANIFEST: t/CVS/Repository
Not in MANIFEST: t/CVS/Root
rem
G:\modules\DateTime-Event-Sunrise>perl makefile.pl
Checking if your kit is complete...
Looks good
Writing Makefile for DateTime::Event::Sunrise
G:\modules\DateTime-Event-Sunrise>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp lib/DateTime/Event/Sunrise.pm blib\lib\DateTime/Event/Sunrise.pm
G:\modules\DateTime-Event-Sunrise>nmake test
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
F:\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch
)" t\00load.t t\01basic.t
t\00load.....ok
t\01basic....NOK 1# Failed test (t\01basic.t at line 35)
# got: '2000-06-19T07:54:00'
# expected: '2000-06-19T05:43:00'
t\01basic....NOK 2# Failed test (t\01basic.t at line 36)
# got: '2000-06-19T18:10:00'
# expected: '2000-06-19T20:03:00'
t\01basic....NOK 3# Failed test (t\01basic.t at line 38)
# got: '2000-06-19T07:54:00'
# expected: '2000-06-19T05:43:00'
t\01basic....NOK 4# Failed test (t\01basic.t at line 40)
# got: '2000-06-19T18:10:00'
# expected: '2000-06-19T20:03:00'
t\01basic....NOK 5# Failed test (t\01basic.t at line 43)
# got: '2000-06-20T07:54:00'
# expected: '2000-06-20T05:43:00'
t\01basic....NOK 6# Failed test (t\01basic.t at line 45)
# got: '2000-06-20T18:11:00'
# expected: '2000-06-20T20:03:00'
t\01basic....NOK 7# Failed test (t\01basic.t at line 48)
# got: '2000-06-18T07:54:00'
# expected: '2000-06-18T05:43:00'
t\01basic....NOK 8# Failed test (t\01basic.t at line 50)
# got: '2000-06-18T18:09:00'
# expected: '2000-06-18T20:03:00'
t\01basic....NOK 13# Failed test (t\01basic.t at line 74)
t\01basic....ok 15/15# Looks like you failed 9 tests of 15.
t\01basic....dubious
Test returned status 9 (wstat 2304, 0x900)
DIED. FAILED tests 1-8, 13
Failed 9/15 tests, 40.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
----------------------------------------------------------------------------
---
t\01basic.t 9 2304 15 9 60.00% 1-8 13
Failed 1/2 test scripts, 50.00% okay. 9/16 subtests failed, 43.75% okay.
NMAKE : fatal error U1077: 'F:\perl\bin\perl.exe' : return code '0x2'
Stop.
G:\modules\DateTime-Event-Sunrise>