Skip Menu |

This queue is for tickets about the podlators CPAN distribution.

Report information
The Basics
Id: 17291
Status: resolved
Priority: 0/
Queue: podlators

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

Bug Information
Severity: Critical
Broken in: 2.0.2
Fixed in: 2.0.3



Subject: 'make test' failure
The changes made to parse_from_file in Man.pm and Text.pm to not close the file result in 'make test' failures when the tests try to delete files that are still open. Show quoted text
> make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic...........ok t/color...........ok t/man.............ok 1/21Can't write-open out.tmp: Permission denied at t/man.t line 48 t/man.............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 3-21 Failed 19/21 tests, 9.52% okay t/parselink.......ok t/termcap.........ok t/text-options....ok t/text............ok 1/3Can't write-open out.tmp: Permission denied at t/text.t line 42 t/text............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED test 3 Failed 1/3 tests, 66.67% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/man.t 2 512 21 38 180.95% 3-21 t/text.t 2 512 3 2 66.67% 3 Failed 2/7 test scripts, 71.43% okay. 20/69 subtests failed, 71.01% okay. make: *** [test_dynamic] Error 2 Show quoted text
> perl -Mblib t/man.t
1..21 ok 1 ok 2 Can't write-open out.tmp: Permission denied at t/man.t line 48 Show quoted text
> perl -Mblib t/text.t
1..3 ok 1 ok 2 Can't write-open out.tmp: Permission denied at t/text.t line 42 My system: Show quoted text
> perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=cygwin, osvers=1.5.19(0.15042), archname=cygwin-thread-multi-64int uname='cygwin_nt-5.0 pn100-02-2-054p 1.5.19(0.15042) 2006-01-20 13:28 i686 cygwin ' config_args='-de -Duse64bitint -Dusethreads -DPERL_DONT_CREATE_GVSV -Uusemymalloc -A define:optimize=-O3 -pipe -frename-registers -fomit-frame-pointer -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -A define:ld=/usr/bin/ld2' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef 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 -fno-strict-aliasing -pipe -Wdeclaration-after-statement', optimize='-O3 -pipe -frename-registers -fomit-frame-pointer -march=pentium4 -mfpmath=sse -mmmx -msse -msse2', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -Wdeclaration-after-statement' 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='/usr/bin/ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -lcrypt -lgdbm_compat perllibs=-lcrypt -lgdbm_compat libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_USE_SAFE_PUTENV SPRINTF_RETURNS_STRLEN USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: MAINT26907 26934 Built under cygwin Compiled at Jan 24 2006 13:26:21 %ENV: PERLIO="perlio" CYGWIN="server ntsec forkchunk:32768" @INC: /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 .
I've just released podlators 2.0.3 which should work around this issue until there's a better way to deal with it in Pod::Simple. Could you give it a try and let me know if it's not fixed? Thanks!
Subject: Re: [rt.cpan.org #17291] 'make test' failure
Date: Sun, 29 Jan 2006 09:46:45 -0500
To: bug-podlators [...] rt.cpan.org
From: "Jerry D. Hedden" <jerry [...] hedden.us>
Russ_Allbery via RT wrote: Show quoted text
> I've just released podlators 2.0.3 which should work around this issue > until there's a better way to deal with it in Pod::Simple. Could you > give it a try and let me know if it's not fixed?
Yes. That seems to have fixed it. Thanks.