Skip Menu |

This queue is for tickets about the CGI-Minimal CPAN distribution.

Report information
The Basics
Id: 12854
Status: resolved
Priority: 0/
Queue: CGI-Minimal

People
Owner: Nobody in particular
Requestors: barbie [...] missbarbell.co.uk
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.16
Fixed in: (no value)

Attachments


Subject: make test failing on Windows/Perl 5.6.1
Was planning to try out Posy, but CGI-Minimal is a prerequisite, which fails with the following errors. Could it be a line-ending issue? C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl ib\lib', 'blib\arch')" t\01_decode_form.t t\02_encodings.t t\03_misc.t t\04_modi fy_parameters.t t\01_decode_form..........FAILED test 3 Failed 1/4 tests, 75.00% okay t\02_encodings............ok t\03_misc.................ok t\04_modify_parameters....FAILED test 3 Failed 1/4 tests, 75.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\01_decode_form.t 4 1 25.00% 3 t\04_modify_parameters.t 4 1 25.00% 3 Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. decode application/x-www-form-urlencoded - ok decode application/sgml-form-urlencoded - ok decode multipart/form-data - failed: form falsely appeared truncated detect form truncation - ok html escaping - ok url encoding - ok generate calling parms table - ok generate RFC 1123 date - ok set standard parameter values - ok delete standard parameters - ok set multipart parameter values - failed: form falsely appeared truncated delete multipart parameters - ok Failed 2/4 test scripts, 50.00% okay. 2/12 subtests failed, 83.33% okay. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0xff' Stop. Distribution name and version: CGI-Minimal-1.16 H:\>perl -V Summary of my perl5 (revision 5 version 6 subversion 1) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=def ine useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cl', ccflags ='-nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRI CT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_ READFIX', optimize='-O1 -MD -Zi -DNDEBUG', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize =4 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C: \Perl\lib\CORE" -machine:x86' libpth="C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib" "C:\Program F iles\Microsoft Visual Studio\VC98\lib" "C:\Perl\lib\CORE" libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32 .lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsoc k32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comd lg32.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 libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf - libpath:"C:\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT PERL_IMP LICIT_SYS Locally applied patches: ActivePerl Build 638 Built under MSWin32 Compiled at Apr 13 2004 19:24:21 %ENV: PERL5LIB="C:\Perl\lib;C:\Perl\site\lib" PERL5_CPANPLUS_CONFIG="c:\.cpanplus\config" @INC: C:\Perl\lib C:\Perl\site\lib C:/Perl/lib C:/Perl/site/lib . H:\>uname -a MINGW32_NT-5.0 ******** 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown (machine name blanked out) Barbie.
Date: Tue, 17 May 2005 20:36:44 -0700 (PDT)
From: Benjamin Franz <snowhare [...] nihongo.org>
To: via RT <bug-CGI-Minimal [...] rt.cpan.org>
CC: barbie [...] missbarbell.co.uk
Subject: Re: [cpan #12854] make test failing on Windows/Perl 5.6.1
RT-Send-Cc:
On Tue, 17 May 2005, via RT wrote: I don't normally run Perl under Windows, but I downloaded and installed the same version of ActiveState Perl on a relatively stock WinXP Pro machine and could not replicate your problem. Looking at the code in the test, it is possible that your installation is not handling binary filehandles correctly and is marking files EOF when it reads embedded ctrl-Z characters _even in binary mode_. I've created a modified version of the module that skips ctrl-Z during the testing. If it works for you I'll release the updated module to CPAN. - Benjamin Franz Show quoted text
> > This message about CGI-Minimal was sent to you by BARBIE <BARBIE@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=12854 > > > Was planning to try out Posy, but CGI-Minimal is a prerequisite, which fails with the following errors. Could it be a line-ending issue? > > C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'bl > ib\lib', 'blib\arch')" t\01_decode_form.t t\02_encodings.t t\03_misc.t t\04_modi > fy_parameters.t > t\01_decode_form..........FAILED test 3 > Failed 1/4 tests, 75.00% okay > t\02_encodings............ok > t\03_misc.................ok > t\04_modify_parameters....FAILED test 3 > Failed 1/4 tests, 75.00% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t\01_decode_form.t 4 1 25.00% 3 > t\04_modify_parameters.t 4 1 25.00% 3 > > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > > > decode application/x-www-form-urlencoded - ok > decode application/sgml-form-urlencoded - ok > decode multipart/form-data - failed: form falsely appeared > truncated > detect form truncation - ok > > html escaping - ok > url encoding - ok > > generate calling parms table - ok > generate RFC 1123 date - ok > > set standard parameter values - ok > delete standard parameters - ok > set multipart parameter values - failed: form falsely appeared > truncated > delete multipart parameters - ok > Failed 2/4 test scripts, 50.00% okay. 2/12 subtests failed, 83.33% okay. > NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code '0xff' > Stop. > > Distribution name and version: CGI-Minimal-1.16 > > H:\>perl -V > Summary of my perl5 (revision 5 version 6 subversion 1) configuration: > Platform: > osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread > uname='' > config_args='undef' > hint=recommended, useposix=true, d_sigaction=undef > usethreads=undef use5005threads=undef useithreads=define usemultiplicity=def > ine > useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > Compiler: > cc='cl', ccflags ='-nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRI > CT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_ > READFIX', > optimize='-O1 -MD -Zi -DNDEBUG', > cppflags='-DWIN32' > ccversion='', gccversion='', gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 > d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize > =4 > alignbytes=8, usemymalloc=n, prototype=define > Linker and Libraries: > ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C: > \Perl\lib\CORE" -machine:x86' > libpth="C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib" "C:\Program F > iles\Microsoft Visual Studio\VC98\lib" "C:\Perl\lib\CORE" > libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32 > .lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsoc > k32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib > perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comd > lg32.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 > libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib > Dynamic Linking: > dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf - > libpath:"C:\Perl\lib\CORE" -machine:x86' > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT PERL_IMP > LICIT_SYS > Locally applied patches: > ActivePerl Build 638 > Built under MSWin32 > Compiled at Apr 13 2004 19:24:21 > %ENV: > PERL5LIB="C:\Perl\lib;C:\Perl\site\lib" > PERL5_CPANPLUS_CONFIG="c:\.cpanplus\config" > @INC: > C:\Perl\lib > C:\Perl\site\lib > C:/Perl/lib > C:/Perl/site/lib > . > > H:\>uname -a > MINGW32_NT-5.0 ******** 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown > > (machine name blanked out) > > > Barbie. >
Download CGI-Minimal-1.17.tar.gz
application/x-gzip 14.2k

Message body not shown because it is not plain text.