Skip Menu |

This queue is for tickets about the HTTP-Message CPAN distribution.

Report information
The Basics
Id: 80302
Status: resolved
Priority: 0/
Queue: HTTP-Message

People
Owner: Nobody in particular
Requestors: jdhedden [...] cpan.org
Cc:
AdminCc:

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



Subject: 'make test' failures
PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/common-req.t .......... ok t/headers-auth.t ........ ok t/headers-etag.t ........ ok t/headers-util.t ........ ok # Test 139 got: "Illegal field name 'foo:' at t/headers.t line 295.\n" (t/headers.t at line 297) # Expected: "Illegal field name 'foo:' at t/headers.t line 295\n" # t/headers.t line 297 is: ok($@, "Illegal field name 'foo:' at $file line $line\n"); # Test 140 got: "Illegal field name '' at t/headers.t line 299.\n" (t/headers.t at line 301) # Expected: "Illegal field name '' at t/headers.t line 299\n" # t/headers.t line 301 is: ok($@, "Illegal field name '' at $file line $line\n"); t/headers.t ............. Failed 2/166 subtests t/http-config.t ......... ok t/message-charset.t ..... ok t/message-decode-xml.t .. ok t/message-old.t ......... ok t/message-parts.t ....... ok t/message.t ............. ok t/request.t ............. ok t/response.t ............ ok t/status-old.t .......... ok t/status.t .............. ok Test Summary Report ------------------- t/headers.t (Wstat: 0 Tests: 166 Failed: 2) Failed tests: 139-140 Files=15, Tests=546, 9 wallclock secs ( 0.17 usr 0.33 sys + 4.78 cusr 4.80 csys = 10.08 CPU) Result: FAIL Failed 1/15 test programs. 2/546 subtests failed. make: *** [test_dynamic] Error 255 Show quoted text
> perl -Mblib t/headers.t
1..166 # Running under perl version 5.016001 for cygwin # Current time local: Sat Oct 20 09:44:32 2012 # Current time GMT: Sat Oct 20 13:44:32 2012 # Using Test.pm version 1.25_02 ok 1 .... ok 137 ok 138 not ok 139 # Test 139 got: "Illegal field name 'foo:' at t/headers.t line 295.\n" (t/headers.t at line 297) # Expected: "Illegal field name 'foo:' at t/headers.t line 295\n" # t/headers.t line 297 is: ok($@, "Illegal field name 'foo:' at $file line $line\n"); not ok 140 # Test 140 got: "Illegal field name '' at t/headers.t line 299.\n" (t/headers.t at line 301) # Expected: "Illegal field name '' at t/headers.t line 299\n" # t/headers.t line 301 is: ok($@, "Illegal field name '' at $file line $line\n"); ok 141 ok 142 ... Show quoted text
> perl -V
Summary of my perl5 (revision 5 version 16 subversion 1 patch 53802) configuration: Snapshot of: 06d742c02d396d6515581002f376b55ab1972c1b Platform: osname=cygwin, osvers=1.5.25(0.15642), archname=cygwin-thread-multi- 64int uname='cygwin_nt-5.1 seymour 1.5.25(0.15642) 2008-06-12 19:34 i686 cygwin ' config_args='-de -Duse64bitint -Dusethreads -Uusemymalloc - Dinc_version_list=none -Dnoextensions=DB_File Devel/DProf Devel/Peek GDBM_File IPC/SysV NDBM_File ODBM_File Sys/Syslog Text/Soundex Time/Piece attrs B/Debug B/Lint -A append:ccflags= -DNO_MATHOMS -A define:optimize=-Os -pipe -funit-at-a-time -march=pentium4 -mfpmath=sse -mieee-fp -mmmx -msse -msse2' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ - DNO_MATHOMS -fno-strict-aliasing -pipe', optimize='-Os -pipe -funit-at-a-time -march=pentium4 -mfpmath=sse - mieee-fp -mmmx -msse -msse2', cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -DNO_MATHOMS - fno-strict-aliasing -pipe' ccversion='', gccversion='3.4.4 (cygming special, gdc 0.12, using dmd 0.125)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags =' -Wl,--enable-auto-import -Wl,--export-all- symbols -Wl,--enable-auto-image-base -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldl -lcrypt -lgdbm_compat perllibs=-ldl -lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_16_1.dll gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,- -export-all-symbols -Wl,--enable-auto-image-base -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY NO_MATHOMS PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under cygwin Compiled at Aug 11 2012 07:18:47 %ENV: PERLIO="perlio" CYGWIN="ntsec" @INC: /usr/lib/perl5/site_perl/5.16.1/cygwin /usr/lib/perl5/site_perl/5.16.1 /usr/lib/perl5/5.16.1/cygwin /usr/lib/perl5/5.16.1 .
From: jcrotty_alpine [...] hotmail.com
Having the exact same problem on CentOS 6.3. It's a prereq for Pinto and I am dead in the water until this gets fixed. Did not dig to figure out the root cause.
The cause is that "Carp-1.25" comes with this change:
  * add dot to end of message from Carp, to match the formatting from
    CORE::die
I'll compensate to allow both forms.
From: jean [...] veronis.fr
I had the same problem, and installed Carp 1.24: cpanm http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Carp-1.24.tar.gz The tests then pass.
 I've now uploaded HTTP-Message-6.06