Skip Menu |

This queue is for tickets about the POE-Component-Server-SimpleHTTP CPAN distribution.

Report information
The Basics
Id: 29779
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: POE-Component-Server-SimpleHTTP

People
Owner: BINGOS [...] cpan.org
Requestors: westmj [...] spamcop.net
Cc:
AdminCc:

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



CC: apocal [...] cpan.org
Subject: bug in POE-Component-Server-SimpleHTTP tests?
Date: Thu, 04 Oct 2007 15:16:12 -0400
To: bug-POE-Component-Server-SimpleHTTP [...] rt.cpan.org
From: "Michael W. J. West" <westmj [...] spamcop.net>
Hi. I had what is probably a minor problem with WIN32 Activestate Perl installing POE::Component::Server::SimpleHTTP. Please keep my email and other information private. Any advice? Is it possible that having two perls, one in C:\cygwin\... is a problem? I think not, but... For diagnosis, I changed 5_run.t to have two more diag: # Test for 404 diag('Test for 404'); $req=HTTP::Request->new(GET => "http://$IP:$PORT/wedonthaveone"); diag("to $IP $PORT " ); $resp=$UA->request($req); diag("done $IP $PORT with success $resp->is_success" ); And got this test output: nmake -- OK Running make test Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\ActiveStatePerl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_har ness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/1_load.............ok t/2_pod..............skipped all skipped: Test::Pod 1.00 required for testing POD t/3_pod_coverage.....skipped all skipped: Test::Pod::Coverage 1.00 required for testing POD coverage t/4_test_kwalitee....skipped all skipped: Test::Kwalitee not installed; skipping t/5_run..............# 228: Sleep 2... # continue t/5_run..............ok 1/14# Test for 404 # to localhost 2080 # done localhost 2080 with success HTTP::Response=HASH(0x28d5508)->is_success # Enabling Keep-Alive and going again # Test for 404 # to localhost 2080 # done localhost 2080 with success HTTP::Response=HASH(0x28c51f0)->is_success where it just hangs here until I give it a CTRL C: Terminating on signal SIGINT(2) Terminating on signal SIGINT(2) NMAKE : U1077: Stop. Caught SIGINT, trying to continue BINGOS/POE-Component-Server-SimpleHTTP-1.23.tar.gz nmake test -- NOT OK Failed during this command: BINGOS/POE-Component-Server-SimpleHTTP-1.23.tar.gz: make_test NO Here is perl -V: P:\>perl -V Set up gcc environment - 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=MSWin32, osvers=5.00, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=define use5005threads=undef useithreads=define usemultiplicity=de fine useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYP T -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTE XT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -fno-st rict-aliasing', optimize='-O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd 0.125) ', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksi ze=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-L"C:\ActiveStatePerl\lib\CORE"' libpth=\lib libs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 - lodbccp32 -lmsvcrt perllibs=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshel l32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc 32 -lodbccp32 -lmsvcrt libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl58.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -L"C:\ActiveStatePerl\lib\CORE"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 822 [280952] Iin_load_module moved for compatibility with build 806 PerlEx support in CGI::Carp Less verbose ExtUtils::Install and Pod::Find Patch for CAN-2005-0448 from Debian with modifications Rearrange @INC so that 'site' is searched before 'perl' Partly reverted 24733 to preserve binary compatibility MAINT31223 plus additional changes 31490 Problem bootstraping Win32CORE 31324 Fix DynaLoader::dl_findfile() to locate .so files again 31214 Win32::GetLastError fails when first called 31211 Restore Windows NT support 31188 Problem killing a pseudo-forked child on Win32 29732 ANSIfy the PATH environment variable on Windows 27527,29868 win32_async_check() can loop indefinitely 26970 Make Passive mode the default for Net::FTP 26379 Fix alarm() for Windows 2003 24699 ICMP_UNREACHABLE handling in Net::Ping Built under MSWin32 Compiled at Jul 31 2007 19:34:48 %ENV: PERL_MODULE_AUTHOR="Michael W. J. West" @INC: C:/ActiveStatePerl/site/lib C:/ActiveStatePerl/lib . P:\> Thanks. Can I force install?
Subject: Re: [rt.cpan.org #29779] bug in POE-Component-Server-SimpleHTTP tests?
Date: Fri, 19 Oct 2007 13:52:36 +0100
To: "westmj [...] spamcop.net via RT" <bug-POE-Component-Server-SimpleHTTP [...] rt.cpan.org>
From: Kidney Bingos <chris [...] bingosnet.co.uk>
On Thu, Oct 04, 2007 at 03:17:07PM -0400, westmj@spamcop.net via RT wrote: Show quoted text
> > Thu Oct 04 15:17:03 2007: Request 29779 was acted upon. > Transaction: Ticket created by westmj@spamcop.net > Queue: POE-Component-Server-SimpleHTTP > Subject: bug in POE-Component-Server-SimpleHTTP tests? > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: westmj@spamcop.net > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=29779 > > > > Hi. I had what is probably a minor problem with WIN32 Activestate Perl > installing POE::Component::Server::SimpleHTTP. > > Thanks. > > Can I force install?
I have come across problems with fork() and MSWin32 before now. The test in question uses fork(). I've reproduced the problem on Strawberry Perl. I believe that you can force install the module. It does work on MSWin32 the test script appears to not =( Cheers, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #29779] bug in POE-Component-Server-SimpleHTTP tests?
Date: Fri, 19 Oct 2007 06:29:44 -0700 (PDT)
To: bug-POE-Component-Server-SimpleHTTP [...] rt.cpan.org
From: Marlon Bailey <dominion_x240 [...] yahoo.com>
I'll take a look at it over the weekend, actually I really don't have a MSWin32 test box, so give me a bit longer, this is a REALLY busy weekend. _Marlon_ p.s. Thanks for the heads up. "chris@bingosnet.co.uk via RT" <bug-POE-Component-Server-SimpleHTTP@rt.cpan.org> wrote: Queue: POE-Component-Server-SimpleHTTP Ticket On Thu, Oct 04, 2007 at 03:17:07PM -0400, westmj@spamcop.net via RT wrote: Show quoted text
> > Thu Oct 04 15:17:03 2007: Request 29779 was acted upon. > Transaction: Ticket created by westmj@spamcop.net > Queue: POE-Component-Server-SimpleHTTP > Subject: bug in POE-Component-Server-SimpleHTTP tests? > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: westmj@spamcop.net > Status: new > Ticket > > > Hi. I had what is probably a minor problem with WIN32 Activestate Perl > installing POE::Component::Server::SimpleHTTP. > > Thanks. > > Can I force install?
I have come across problems with fork() and MSWin32 before now. The test in question uses fork(). I've reproduced the problem on Strawberry Perl. I believe that you can force install the module. It does work on MSWin32 the test script appears to not =( Cheers, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ========================== Show quoted text
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
The tests have now been refactored to avoid using fork(). Cheers, Bingos