Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Capture-Tiny CPAN distribution.

Report information
The Basics
Id: 67789
Status: resolved
Priority: 0/
Queue: Capture-Tiny

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

Bug Information
Severity: Normal
Broken in: 0.10
Fixed in: 0.11



Subject: Failing tests of Capture::Tiny on QEMU
See attached make test output ( which can also be seen on: http://pastie.org/1839326 ). Information about the system: $ uname -a Linux xxxxxxx 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux $ cat /proc/cpuinfo ... model name : QEMU Virtual CPU version 0.12.5 ... $ cat /etc/debian_version 6.0.1 More information of course on request, i have no idea what else could help you on this problem.
Subject: make_test_capture_tiny.log
Download make_test_capture_tiny.log
application/octet-stream 38.5k

Message body not shown because it is not plain text.

Oh forgot perl version: This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi Its the standard system perl of Debian squeeze.
Subject: Failing tests of Capture::Tiny on Debian/Ubuntu x86_64
Le 2011-04-27 10:04:08, GETTY a écrit : Show quoted text
> See attached make test output ( which can also be seen on: > $ uname -a > Linux xxxxxxx 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 > GNU/Linux
I get the same errors on a native (not Qemu) Ubuntu 11.04 system. This is also Perl v5.10.1 x86_64-linux-gnu-thread-multi. Maybe a 64bit issue? Or Debian? -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
Note that this issue blocks CPAN::Reporter install, and so reporting to CPAN Testers. -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
On Thu Apr 28 05:31:39 2011, DOLMEN wrote: Show quoted text
> Le 2011-04-27 10:04:08, GETTY a écrit :
> > See attached make test output ( which can also be seen on: > > $ uname -a > > Linux xxxxxxx 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 > > GNU/Linux
> > I get the same errors on a native (not Qemu) Ubuntu 11.04 system. > This is also Perl v5.10.1 x86_64-linux-gnu-thread-multi. > > Maybe a 64bit issue? Or Debian?
I can not replicate it with Perl 5.10.1 on 64bit Ubuntu (Debian-based). Please post your "perl -V" output so I can look for any differences. -- David
On Thu Apr 28 07:36:03 2011, DAGOLDEN wrote: Show quoted text
> I can not replicate it with Perl 5.10.1 on 64bit Ubuntu (Debian-
based). Show quoted text
> > Please post your "perl -V" output so I can look for any differences. > > -- David >
I'm seeing the same errors on ubuntu 10.10: Summary of my perl5 (revision 5 version 12 subversion 0) configuration: Platform: osname=linux, osvers=2.6.35-28-generic, archname=x86_64-linux uname='linux charron 2.6.35-28-generic #50-ubuntu smp fri mar 18 18:42:20 utc 2011 x86_64 gnulinux ' config_args='-de -Dprefix=/home/mike/perl5/perlbrew/perls/perl- 5.12.0' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector - I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector - I/usr/local/include' ccversion='', gccversion='4.4.5', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 libs=-lnsl -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.12.1.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.12.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack- protector' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF Built under linux Compiled at Apr 30 2011 00:53:17 %ENV: PERL5LIB="" PERL5OPT="" PERL5_CPANPLUS_IS_RUNNING="542" PERL5_CPAN_IS_RUNNING="542" PERLBREW_PATH="/home/mike/perl5/perlbrew/bin:/home/mike/perl5/perlbrew/p erls/current/bin" PERLBREW_PERL="perl-5.12.0" PERLBREW_ROOT="/home/mike/perl5/perlbrew" PERLBREW_VERSION="0.18" @INC: /home/mike/perl5/perlbrew/perls/perl- 5.12.0/lib/site_perl/5.12.0/x86_64-linux /home/mike/perl5/perlbrew/perls/perl-5.12.0/lib/site_perl/5.12.0 /home/mike/perl5/perlbrew/perls/perl-5.12.0/lib/5.12.0/x86_64-linux /home/mike/perl5/perlbrew/perls/perl-5.12.0/lib/5.12.0 .
Hi there, I'm getting the same erros on a new instance of Ubuntu Natty (11.04). It's a Amazon EC2 instance with an official AMI. Please tell me what information would be helpful. $ uname -a Linux ... 2.6.35-27-virtual #48-Ubuntu SMP Tue Feb 22 23:21:45 UTC 2011 x86_64 GNU/Linux $ perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=linux, osvers=2.6.24-27-server, archname=x86_64-linux-gnu-thread-multi uname='linux yellow 2.6.24-27-server #1 smp fri mar 12 01:23:09 utc 2010 x86_64 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC - Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.10 - Darchlib=/usr/lib/perl/5.10 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 - Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.10.1 -Dsitearch=/usr/local/lib/perl/5.10.1 -Dman1dir=/usr/share/man/man1 - Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 - Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl - Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm - DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.10.1 -Dd_dosuid - des' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe - fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack- protector -I/usr/local/include' ccversion='', gccversion='4.4.4', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.12.so, so=so, useshrplib=true, libperl=libperl.so.5.10.1 gnulibc_version='2.12' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: DEBPKG:debian/arm_thread_stress_timeout - http://bugs.debian.org/501970 Raise the timeout of ext/threads/shared/t/stress.t to accommodate slower build hosts DEBPKG:debian/cpan_config_path - Set location of CPAN::Config to /etc/perl as /usr may not be writable. DEBPKG:debian/cpan_definstalldirs - Provide a sensible INSTALLDIRS default for modules installed from CPAN. DEBPKG:debian/db_file_ver - http://bugs.debian.org/340047 Remove overly restrictive DB_File version check. DEBPKG:debian/doc_info - Replace generic man(1) instructions with Debian-specific information. DEBPKG:debian/enc2xs_inc - http://bugs.debian.org/290336 Tweak enc2xs to follow symlinks and ignore missing @INC directories. DEBPKG:debian/errno_ver - http://bugs.debian.org/343351 Remove Errno version check due to upgrade problems with long-running processes. DEBPKG:debian/extutils_hacks - Various debian-specific ExtUtils changes DEBPKG:debian/fakeroot - Postpone LD_LIBRARY_PATH evaluation to the binary targets. DEBPKG:debian/instmodsh_doc - Debian policy doesn't install .packlist files for core or vendor. DEBPKG:debian/ld_run_path - Remove standard libs from LD_RUN_PATH as per Debian policy. DEBPKG:debian/libnet_config_path - Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable. DEBPKG:debian/m68k_thread_stress - http://bugs.debian.org/495826 Disable some threads tests on m68k for now due to missing TLS. DEBPKG:debian/mod_paths - Tweak @INC ordering for Debian DEBPKG:debian/module_build_man_extensions - http://bugs.debian.org/479460 Adjust Module::Build manual page extensions for the Debian Perl policy DEBPKG:debian/perl_synopsis - http://bugs.debian.org/278323 Rearrange perl.pod DEBPKG:debian/prune_libs - http://bugs.debian.org/128355 Prune the list of libraries wanted to what we actually need. DEBPKG:debian/use_gdbm - Explicitly link against -lgdbm_compat in ODBM_File/NDBM_File. DEBPKG:fixes/assorted_docs - http://bugs.debian.org/443733 [384f06a] Math::BigInt::CalcEmu documentation grammar fix DEBPKG:fixes/net_smtp_docs - http://bugs.debian.org/100195 [rt.cpan.org #36038] Document the Net::SMTP 'Port' option DEBPKG:fixes/processPL - http://bugs.debian.org/357264 [rt.cpan.org #17224] Always use PERLRUNINST when building perl modules. DEBPKG:debian/perlivp - http://bugs.debian.org/510895 Make perlivp skip include directories in /usr/local DEBPKG:fixes/pod2man-index-backslash - http://bugs.debian.org/521256 Escape backslashes in .IX entries DEBPKG:debian/disable-zlib-bundling - Disable zlib bundling in Compress::Raw::Zlib DEBPKG:fixes/kfreebsd_cppsymbols - http://bugs.debian.org/533098 [3b910a0] Add gcc predefined macros to $Config{cppsymbols} on GNU/kFreeBSD. DEBPKG:debian/cpanplus_definstalldirs - http://bugs.debian.org/533707 Configure CPANPLUS to use the site directories by default. DEBPKG:debian/cpanplus_config_path - Save local versions of CPANPLUS::Config::System into /etc/perl. DEBPKG:fixes/kfreebsd-filecopy-pipes - http://bugs.debian.org/537555 [16f708c] Fix File::Copy::copy with pipes on GNU/kFreeBSD DEBPKG:fixes/anon-tmpfile-dir - http://bugs.debian.org/528544 [perl #66452] Honor TMPDIR when open()ing an anonymous temporary file DEBPKG:fixes/abstract-sockets - http://bugs.debian.org/329291 [89904c0] Add support for Abstract namespace sockets. DEBPKG:fixes/hurd_cppsymbols - http://bugs.debian.org/544307 [eeb92b7] Add gcc predefined macros to $Config{cppsymbols} on GNU/Hurd. DEBPKG:fixes/autodie-flock - http://bugs.debian.org/543731 Allow for flock returning EAGAIN instead of EWOULDBLOCK on linux/parisc DEBPKG:fixes/archive-tar-instance-error - http://bugs.debian.org/539355 [rt.cpan.org #48879] Separate Archive::Tar instance error strings from each other DEBPKG:fixes/positive-gpos - http://bugs.debian.org/545234 [perl #69056] [c584a96] Fix \G crash on first match DEBPKG:debian/devel-ppport-ia64-optim - http://bugs.debian.org/548943 Work around an ICE on ia64 DEBPKG:fixes/trie-logic-match - http://bugs.debian.org/552291 [perl #69973] [0abd0d7] Fix a DoS in Unicode processing [CVE-2009-3626] DEBPKG:fixes/hppa-thread-eagain - http://bugs.debian.org/554218 make the threads- shared test suite more robust, fixing failures on hppa DEBPKG:fixes/crash-on-undefined-destroy - http://bugs.debian.org/564074 [perl #71952] [1f15e67] Fix a NULL pointer dereference when looking for a DESTROY method DEBPKG:fixes/tainted-errno - http://bugs.debian.org/574129 [perl #61976] [be1cf43] fix an errno stringification bug in taint mode DEBPKG:patchlevel - http://bugs.debian.org/567489 List packaged patches for 5.10.1- 12 in patchlevel.h Built under linux Compiled at Jul 12 2010 12:22:22 @INC: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
Subject: Tests fail on a virgin ubuntu 11.04 installation
Hello, I just reinstalled my OS and upgraded it to Ubuntu 11.04 and was in the process of installing all the "usual" modules I needed. Saw my cpanp install halting at this and decided to report it :) Looking at the list of reported bugs, I think this is similar to some others. I strongly suspect it's due to debian/ubuntu's version of Perl - I had Ubuntu 9.04 ( perl-5.10.0 ) and it worked fine, now on this reinstall ( perl-5.10.1 ) it blew up... Attached is the log - I tried from both CPANPLUS and in the shell to no avail. I'll try to reproduce it on a "fresh" VM so I can tell you for sure that it's not something I did :) Thanks! -- ~Apocalypse
Subject: capture_tiny.txt

Message body is not shown because it is too large.

I use Ubuntu 10.10. I have it fully upgraded and can not replicate the issue. I would ask that everyone submitting/commenting on this bug report please do what you can to submit a CPAN Testers report so I can use analysis.cpantesters.org to try to find any correlations in the failures. This test is specific to STDIN being closed, which is an fairly obscure case. It should be safe to force-install if you need to in order to submit CPAN Testers reports. (And then re-test so a report gets submitted.) I would also like if you could reply to the bug report with your exact architectural details -- several of the reports are virtual machines (QEMU and EC2). That's interesting. I'd like to know if the rest are virtual machines also. Thanks! David
Subject: Re: [rt.cpan.org #67789] Failing stdin-closed tests on Debian and Ubuntu
Date: Mon, 09 May 2011 21:20:54 -0700
To: bug-Capture-Tiny [...] rt.cpan.org
From: "perl [...] 0ne.us" <perl [...] 0ne.us>
On 05/08/2011 08:24 PM, David Golden via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=67789 > > > I use Ubuntu 10.10. I have it fully upgraded and can not replicate the > issue. > > I would ask that everyone submitting/commenting on this bug report > please do what you can to submit a CPAN Testers report so I can use > analysis.cpantesters.org to try to find any correlations in the failures. > > This test is specific to STDIN being closed, which is an fairly obscure > case. It should be safe to force-install if you need to in order to > submit CPAN Testers reports. (And then re-test so a report gets submitted.) > > I would also like if you could reply to the bug report with your exact > architectural details -- several of the reports are virtual machines > (QEMU and EC2). That's interesting. I'd like to know if the rest are > virtual machines also. > > Thanks! > > David > > > >
I sumbitted a CPANTesters report earlier today, thanks for the idea. However, something INTERESTING happened while I was trying to reproduce it. I installed Ubuntu 11.04 64bit on a fresh VM. Here's the details of my setup: * Ubuntu 11.04 64bit desktop as the main OS * Oracle VirtualBox 4.0.6 as the VM engine * installed the exact same distro as a VM And... tests passed! I re-ran it on the main OS and it failed. I'm completely stumped as to why it happened! I double-checked the perl versions ( maybe Ubuntu sneaked in a fix while I was sleeping, ha! ) and they are the same. So, keep this in mind when you attack the "problem is in the VM" angle :( Anything else I could do to help you test this? -- ~Apocalypse ( APOCAL )
CC:
Subject: Re: [rt.cpan.org #67789] Failing stdin-closed tests on Debian and Ubuntu
Date: Tue, 10 May 2011 16:33:23 +0000 (GMT)
To: bug-Capture-Tiny [...] rt.cpan.org
From: perl [...] galumph.com
I've figured this out: the issue is Test::Differences. Use T::D 0.50 and the tests pass; use T::D 0.61 and the tests fail. The big change that I see is that, as of version 0.60, T::D does not treat undef as equivalent to an empty string.
Subject: Re: [rt.cpan.org #67789] Failing stdin-closed tests on Debian and Ubuntu
Date: Tue, 10 May 2011 14:04:34 -0400
To: bug-Capture-Tiny [...] rt.cpan.org
From: David Golden <dagolden [...] cpan.org>
On Tue, May 10, 2011 at 12:33 PM, Elliot Shank via RT <bug-Capture-Tiny@rt.cpan.org> wrote: Show quoted text
>       Queue: Capture-Tiny >  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=67789 > > > I've figured this out: the issue is Test::Differences. Use T::D 0.50 and the tests pass; use T::D 0.61 and the tests fail. > > The big change that I see is that, as of version 0.60, T::D does not treat undef as equivalent to an empty string.
Elliot++ Now I can replicate and fix it. Thank you very much! David