Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 17390
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: devender.bejju [...] valuelabs.net
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.30
Fixed in: (no value)



Subject: Problems installing DateTimePackage
Hi, I am unable to Make DateTime pm, seems like 97%+ tests are ok but at the end i get a message NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' and make stops saying "make test returned bad status, wont install without force" What should we do. Please help Devender
Subject: datetime make.txt
C:\Documents and Settings\dbejju\Desktop>perl -c date.pl Can't locate DateTime.pm in @INC (@INC contains: C:\Program Files\ActiveState Pe rl Dev Kit 6.0 Deployment\lib\ C:/Perl/lib C:/Perl/site/lib .) at date.pl line 3 . BEGIN failed--compilation aborted at date.pl line 3. C:\Documents and Settings\dbejju\Desktop>cpan DateTime CPAN: Storable loaded ok Going to read \.cpan\Metadata Database was generated on Tue, 31 Jan 2006 06:40:00 GMT Running install for module DateTime Running make for D/DR/DROLSKY/DateTime-0.30.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for \.cpan\sources\authors\id\D\DR\DROLSKY\DateTime-0.30.tar.gz ok Scanning cache \.cpan\build for sizes Deleting from cache: \.cpan\build\Getopt-Long-2.35 (10.7>10.0 MB) Deleting from cache: \.cpan\build\Log-Log4perl-1.02 (10.4>10.0 MB) CPAN: Archive::Tar loaded ok DateTime-0.30/ DateTime-0.30/t/ DateTime-0.30/t/07compare.t DateTime-0.30/t/20infinite.t DateTime-0.30/t/16truncate.t DateTime-0.30/t/05set.t DateTime-0.30/t/01sanity.t DateTime-0.30/t/36invalid_local.t DateTime-0.30/t/25add_subtract.t DateTime-0.30/t/15jd.t DateTime-0.30/t/27delta.t DateTime-0.30/t/24from_object.t DateTime-0.30/t/35rd_values.t DateTime-0.30/t/19leap_second.t DateTime-0.30/t/30future_tz.t DateTime-0.30/t/33seconds_offset.t DateTime-0.30/t/02last_day.t DateTime-0.30/t/18today.t DateTime-0.30/t/34set_tz.t DateTime-0.30/t/28dow.t DateTime-0.30/t/17set_return.t DateTime-0.30/t/29overload.t DateTime-0.30/t/10subtract.t DateTime-0.30/t/21bad_params.t DateTime-0.30/t/37local-add.t DateTime-0.30/t/31formatter.t DateTime-0.30/t/26dt_leapsecond_pm.t DateTime-0.30/t/12week.t DateTime-0.30/t/00load.t DateTime-0.30/t/38local-subtract.t DateTime-0.30/t/03components.t DateTime-0.30/t/13strftime.t DateTime-0.30/t/11duration.t DateTime-0.30/t/14locale.t DateTime-0.30/t/04epoch.t DateTime-0.30/t/09greg.t DateTime-0.30/t/23storable.t DateTime-0.30/t/22from_doy.t DateTime-0.30/t/32leap_second2.t DateTime-0.30/t/06add.t DateTime-0.30/t/99-pod.t DateTime-0.30/lib/ DateTime-0.30/lib/DateTime/ DateTime-0.30/lib/DateTime/Duration.pm DateTime-0.30/lib/DateTime/Infinite.pm DateTime-0.30/lib/DateTime/LeapSecond.pm DateTime-0.30/lib/DateTimePP.pm DateTime-0.30/lib/DateTimePPExtra.pm DateTime-0.30/lib/DateTime.pm DateTime-0.30/Changes DateTime-0.30/MANIFEST DateTime-0.30/TODO DateTime-0.30/META.yml DateTime-0.30/tools/ DateTime-0.30/tools/leap_seconds_header.pl DateTime-0.30/MANIFEST.SKIP DateTime-0.30/leaptab.txt DateTime-0.30/ppport.h DateTime-0.30/DateTime.xs DateTime-0.30/CREDITS DateTime-0.30/leap_seconds.h DateTime-0.30/Makefile.PL DateTime-0.30/LICENSE DateTime-0.30/README Removing previously used \.cpan\build\DateTime-0.30 CPAN.pm: Going to build D/DR/DROLSKY/DateTime-0.30.tar.gz Testing if you have a C compiler Microsoft (R) Program Maintenance Utility Version 6.00.9782.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 Microsoft (R) Program Maintenance Utility Version 6.00.9782.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 C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\Perl\lib\E xtUtils\typemap DateTime.xs > DateTime.xsc && C:\Perl\bin\perl.exe -MExtUtils:: Command -e mv DateTime.xsc DateTime.c cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_ST RICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEX T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" "-IC:\Perl\lib\CORE" DateTime.c DateTime.c DateTime.xs(135) : warning C4244: '=' : conversion from 'double ' to 'long ', po ssible loss of data Running Mkbootstrap for DateTime () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 DateTime.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Da teTime\", 'DLBASE' => 'DateTime', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS ' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\DateTime\DateTime.dll -dll -nologo -nodefaultli b -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 DateTime.obj C:\Perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winsp ool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32. lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib m svcrt.lib -def:DateTime.def Creating library blib\arch\auto\DateTime\DateTime.lib and object blib\arch\au to\DateTime\DateTime.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\Dat eTime\DateTime.dll No root path(s) specified at C:/Perl/lib/ExtUtils/Command.pm line 95 C:\Perl\bin\perl.exe -MExtUtils::Command -e cp DateTime.bs blib\arch\aut o\DateTime\DateTime.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto\Dat eTime\DateTime.bs nmake -- OK Running make test Microsoft (R) Program Maintenance Utility Version 6.00.9782.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl ib\lib', 'blib\arch')" t\00load.t t\01sanity.t t\02last_day.t t\03components.t t \04epoch.t t\05set.t t\06add.t t\07compare.t t\09greg.t t\10subtract.t t\11durat ion.t t\12week.t t\13strftime.t t\14locale.t t\15jd.t t\16truncate.t t\17set_ret urn.t t\18today.t t\19leap_second.t t\20infinite.t t\21bad_params.t t\22from_doy .t t\23storable.t t\24from_object.t t\25add_subtract.t t\26dt_leapsecond_pm.t t\ 27delta.t t\28dow.t t\29overload.t t\30future_tz.t t\31formatter.t t\32leap_seco nd2.t t\33seconds_offset.t t\34set_tz.t t\35rd_values.t t\36invalid_local.t t\37 local-add.t t\38local-subtract.t t\99-pod.t t\00load................ok t\01sanity..............ok t\02last_day............ok t\03components..........ok t\04epoch...............ok 4/32 skipped: Negative epoch times do not work on some operating systems , including Win32 t\05set.................ok t\06add.................ok t\07compare.............ok t\09greg................ok 1/35# this may take a minute... t\09greg................ok t\10subtract............ok t\11duration............ok t\12week................ok t\13strftime............ok 1/134# New locale: de # New locale: it t\13strftime............ok t\14locale..............ok t\15jd..................ok t\16truncate............ok t\17set_return..........ok t\18today...............ok t\19leap_second.........ok t\20infinite............ok 1/42 # Failed test (t\20infinite.t at line 59) t\20infinite............ok 37/42# Looks like you failed 1 test of 42. t\20infinite............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 12 Failed 1/42 tests, 97.62% okay t\21bad_params..........ok t\22from_doy............ok t\23storable............ok 1/16 skipped: This test needs DateTime::Format::ICal t\24from_object.........ok t\25add_subtract........ok t\26dt_leapsecond_pm....ok t\27delta...............ok t\28dow.................ok t\29overload............ok t\30future_tz...........ok t\31formatter...........skipped all skipped: DateTime::Format::Strptime 1.0400+ not installed t\32leap_second2........ok t\33seconds_offset......ok t\34set_tz..............ok t\35rd_values...........ok t\36invalid_local.......ok t\37local-add...........ok t\38local-subtract......ok t\99-pod................ok 1/1 skipped: File::Find::Rule not installed Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\20infinite.t 1 256 42 1 2.38% 12 1 test and 6 subtests skipped. Failed 1/39 test scripts, 97.44% okay. 1/3104 subtests failed, 99.97% okay. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' Stop. nmake test -- NOT OK Running make install make test had returned bad status, won't install without force C:\Documents and Settings\dbejju\Desktop>
On Tue Jan 31 05:53:08 2006, guest wrote: Show quoted text
> Hi, > I am unable to Make DateTime pm, seems like 97%+ tests are ok but at the > end i get a message > NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' > > and make stops saying "make test returned bad status, wont install > without force" > > What should we do.
Can you run this: make test TEST_VERBOSE=1 TEST_FILES=t/20infinite.t and send me the output for the failing test? That might help me figure out what's going wrong.
From: bpphillips [ at ] cpan [ dot ] org
Here's the output you requested above to the 20infinite.t test script C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\E xtUtils\typemap DateTime.xs > DateTime.xsc && C:\Perl\bin\perl.exe -MExtUtils:: Command -e mv DateTime.xsc DateTime.c gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO _HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE _PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -O2 -DVERSI ON=\"0.30\" -DXS_VERSION=\"0.30\" "-IC:\Perl\lib\CORE" DateTime.c In file included from DateTime.xs:10: ppport.h:224:1: warning: "PERL_UNUSED_DECL" redefined In file included from DateTime.xs:8: C:/Perl/lib/CORE/perl.h:165:1: warning: this is the location of the previous def inition Running Mkbootstrap for DateTime () C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 DateTime.bs C:\Perl\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"Da teTime\", 'DLBASE' => 'DateTime', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS ' => { }, 'DL_VARS' => []);" Set up gcc environment - 3.4.2 (mingw-special) dlltool --def DateTime.def --output-exp dll.exp gcc -o blib\arch\auto\DateTime\DateTime.dll -Wl,--base-file -Wl,dll.base -mdll DateTime.o -Wl,--image-base,0x10080000 C:\Perl\lib\CORE\perl58.lib -lker nel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -lolea ut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lms vcrt dll.exp dlltool --def DateTime.def --base-file dll.base --output-exp dll.exp gcc -o blib\arch\auto\DateTime\DateTime.dll -mdll DateTime.o -Wl,--image -base,0x10080000 C:\Perl\lib\CORE\perl58.lib -lkernel32 -luser32 -lgdi32 -lwins pool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_ 32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lmsvcrt dll.exp C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\Dat eTime\DateTime.dll No root path(s) specified at C:/Perl/lib/ExtUtils/Command.pm line 105 C:\Perl\bin\perl.exe -MExtUtils::Command -e cp DateTime.bs blib\arch\aut o\DateTime\DateTime.bs C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto\Dat eTime\DateTime.bs C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'bl ib\lib', 'blib\arch')" t/20infinite.t t/20infinite....1..42 ok 1 - positive infinity should be infinite ok 2 - negative infinity should be infinite # Failed test 'infinity - infinity = nan (days)' # in t/20infinite.t at line 59. ok 3 - positive infinity should not be finite ok 4 - negative infinity should not be finite ok 5 - negative infinity is really negative ok 6 - positive infinity is really positive ok 7 - positive infinity is bigger than negative infinity ok 8 - infinity - normal = infinity ok 9 - normal + infinite duration = infinity ok 10 - normal - infinity = neg infinity ok 11 - normal + neg infinite duration = neg infinity not ok 12 - infinity - infinity = nan (days) ok 13 - infinity - infinity = nan (seconds) ok 14 - infinity - infinity = nan (nanoseconds) ok 15 - infinity + normal duration = infinity ok 16 - infinity - normal duration = infinity ok 17 - infinity (datetime) == infinity (number) ok 18 - neg infinity (datetime) == neg infinity (number) ok 19 - pos year is 1.\#INF ok 20 - neg year is 1.\#INF ok 21 - pos month is 1.\#INF ok 22 - neg month is 1.\#INF ok 23 - pos day is 1.\#INF ok 24 - neg day is 1.\#INF ok 25 - pos hour is 1.\#INF ok 26 - neg hour is 1.\#INF ok 27 - pos minute is 1.\#INF # Looks like you failed 1 test of 42. ok 28 - neg minute is 1.\#INF ok 29 - pos second is 1.\#INF ok 30 - neg second is 1.\#INF ok 31 - pos microsecond is 1.\#INF ok 32 - neg microsecond is 1.\#INF ok 33 - pos millisecond is 1.\#INF ok 34 - neg millisecond is 1.\#INF ok 35 - pos nanosecond is 1.\#INF ok 36 - neg nanosecond is 1.\#INF ok 37 - positive infinite is greater than now ok 38 - negative infinite is less than now ok 39 - infinity (datetime) == infinity (datetime) ok 40 - -infinity (datetime) == -infinity (datetime) ok 41 - stringified infinity (datetime) eq infinity (number) ok 42 - stringified neg infinity (datetime) eq neg infinity (number) dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 12 Failed 1/42 tests, 97.62% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/20infinite.t 1 256 42 1 2.38% 12 Failed 1/1 test scripts, 0.00% okay. 1/42 subtests failed, 97.62% okay. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop.
The next version should provide better failure output, though I don't think I've fixed the problem yet.
From: Amigoboomer
I'm getting issues building the library using VC8 cl.exe on Win32 XP platform with ActiveState Perl installed. When running nmake test I get rampant failures: t/36invalid_local.......Can't load 'C:\Perl\lib\DateTime-0.31 \blib\arch/auto/DateTime/DateTime.dll' for module DateTime: load_file:The specified module could not be found at C:/Perl/lib/DynaLoader.pm line 230. at C:/Perl/lib/DynaLoader.pm line 48 BEGIN failed--compilation aborted at C:\Perl\lib\DateTime-0.31 \blib\lib/DateTime.pm line 48. Compilation failed in require at t/36invalid_local.t line 7. BEGIN failed--compilation aborted at t/36invalid_local.t line 7. t/36invalid_local.......dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-4 Failed 4/4 tests, 0.00% okay For some reason datetime.dll cant load from the build folder even though it exists - any suggestions (other than not use Windows...)?
On Tue Jan 31 05:53:08 2006, guest wrote: Show quoted text
> Hi, > I am unable to Make DateTime pm, seems like 97%+ tests are ok but at the > end i get a message > NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' > > and make stops saying "make test returned bad status, wont install > without force" > > What should we do. > Please help > > Devender
On Fri May 26 13:58:05 2006, guest wrote: Show quoted text
> I'm getting issues building the library using VC8 cl.exe on Win32 XP > platform with ActiveState Perl installed. When running nmake test I > get rampant failures: > > t/36invalid_local.......Can't load 'C:\Perl\lib\DateTime-0.31 > \blib\arch/auto/DateTime/DateTime.dll' for module DateTime: > load_file:The specified module could not be found at > C:/Perl/lib/DynaLoader.pm line 230. > at C:/Perl/lib/DynaLoader.pm line 48 > BEGIN failed--compilation aborted at C:\Perl\lib\DateTime-0.31 > \blib\lib/DateTime.pm line 48. > Compilation failed in require at t/36invalid_local.t line 7. > BEGIN failed--compilation aborted at t/36invalid_local.t line 7. > t/36invalid_local.......dubious > Test returned status 2 (wstat 512, 0x200) > DIED. FAILED tests 1-4 > Failed 4/4 tests, 0.00% okay > > For some reason datetime.dll cant load from the build folder even > though it exists - any suggestions (other than not use Windows...)?
This seems unrelated to the ticket you're commenting on. Can you file a new ticket if you're still having problems compiling on Windows with the latest release?
On Tue Jun 27 10:14:29 2006, guest wrote: Show quoted text
> On Tue Jan 31 05:53:08 2006, guest wrote:
> > Hi, > > I am unable to Make DateTime pm, seems like 97%+ tests are ok but at the > > end i get a message > > NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' > > > > and make stops saying "make test returned bad status, wont install > > without force" > > > > What should we do. > > Please help > > > > Devender
>
Are you still getting the same errors with 0.32? If so, please send me the verbose output again. I changed the tests so hopefully the reason it's failing will be clearer.
On Mon Aug 07 05:06:27 2006, DROLSKY wrote: Show quoted text
> > Are you still getting the same errors with 0.32? If so, please send me > the verbose output again. I changed the tests so hopefully the reason > it's failing will be clearer.
I am having the same problem with current cpan version (0.34) on windows using activeperl 5.8.8 build 819. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib\lib', 'blib\arch')" t/20infinite.t t/20infinite....1..42 ok 1 - positive infinity should be infinite ok 2 - negative infinity should be infinite ok 3 - positive infinity should not be finite ok 4 - negative infinity should not be finite ok 5 - negative infinity is really negative ok 6 - positive infinity is really positive ok 7 - positive infinity is bigger than negative infinity ok 8 - infinity - normal = infinity ok 9 - normal + infinite duration = infinity ok 10 - normal - infinity = neg infinity ok 11 - normal + neg infinite duration = neg infinity not ok 12 - infinity - infinity = nan (days) ok 13 - infinity - infinity = nan (seconds) ok 14 - infinity - infinity = nan (nanoseconds) ok 15 - infinity + normal duration = infinity ok 16 - infinity - normal duration = infinity ok 17 - infinity (datetime) == infinity (number) ok 18 - neg infinity (datetime) == neg infinity (number) ok 19 - pos year is 1.\#INF ok 20 - neg year is 1.\#INF ok 21 - pos month is 1.\#INF ok 22 - neg month is 1.\#INF ok 23 - pos day is 1.\#INF ok 24 - neg day is 1.\#INF ok 25 - pos hour is 1.\#INF ok 26 - neg hour is 1.\#INF ok 27 - pos minute is 1.\#INF ok 28 - neg minute is 1.\#INF ok 29 - pos second is 1.\#INF ok 30 - neg second is 1.\#INF ok 31 - pos microsecond is 1.\#INF ok 32 - neg microsecond is 1.\#INF ok 33 - pos millisecond is 1.\#INF ok 34 - neg millisecond is 1.\#INF ok 35 - pos nanosecond is 1.\#INF ok 36 - neg nanosecond is 1.\#INF ok 37 - positive infinite is greater than now ok 38 - negative infinite is less than now ok 39 - infinity (datetime) == infinity (datetime) ok 40 - -infinity (datetime) == -infinity (datetime) ok 41 - stringified infinity (datetime) eq infinity (number) ok 42 - stringified neg infinity (datetime) eq neg infinity (number) dubious # Failed test 'infinity - infinity = nan (days)' # in t/20infinite.t at line 59. # got: '-2147483648' # expected: '-1.#IND' # Looks like you failed 1 test of 42. Failed 1/1 test scripts, 0.00% okay. 1/42 subtests failed, 97.62% okay. dmake: Error code 129, while making 'test_dynamic' Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 12 Failed 1/42 tests, 97.62% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/20infinite.t 1 256 42 1 2.38% 12