develooper Front page | perl.perl5.porters | Postings from September 2009

[perl #69416] Net-Twitter-3.07000 fails t/51_since, Bareword "done_testing"

Thread Next
From:
S Taylor
Date:
September 26, 2009 14:09
Subject:
[perl #69416] Net-Twitter-3.07000 fails t/51_since, Bareword "done_testing"
Message ID:
rt-3.6.HEAD-21832-1253992282-2.69416-75-0@perl.org
# New Ticket Created by  S Taylor 
# Please include the string:  [perl #69416]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=69416 >


This is a bug report for perl from dountoothers@gmail.com,
generated with the help of perlbug 1.35 running under perl v5.8.8.

--------------------------------------------------
My Summary start
(copied from cpan output below)

t/51_since.....................Bareword "done_testing" not allowed
while "strict subs" in use at t/51_since.t line 54.

Test Summary Report
-------------------
t/15_subclass              (Wstat: 0 Tests: 27 Failed: 0)
  TODO passed:   13-16, 18
t/51_since                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=20, Tests=1155, 57 wallclock secs ( 1.19 usr  0.12 sys + 49.95
cusr  1.67 csys = 52.93 CPU)
Result: FAIL
Failed 1/20 test programs. 0/1155 subtests failed.
make: *** [test_dynamic] Error 255
  MMIMS/Net-Twitter-3.07000.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MMIMS/Net-Twitter-3.07000.tar.gz
Running make install
  make test had returned bad status, won't install without force

My summary end
--------------------------------------------------

Output of (root) cpan Net::Twitter

CPAN: Storable loaded ok (v2.15)
Going to read '/mnt/hda16/cpan/Metadata'
  Database was generated on Sat, 26 Sep 2009 02:28:41 GMT
Running install for module 'Net::Twitter'
Running make for M/MM/MMIMS/Net-Twitter-3.07000.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.015)
Checksum for /mnt/hda16/cpan/sources/authors/id/M/MM/MMIMS/Net-Twitter-3.07000.tar.gz
ok
CPAN: Archive::Tar loaded ok (v1.44)
Will not use Archive::Tar, need 1.00
Net-Twitter-3.07000/
Net-Twitter-3.07000/lib/
Net-Twitter-3.07000/lib/Net/
Net-Twitter-3.07000/lib/Net/Identica.pm
Net-Twitter-3.07000/lib/Net/Twitter.pm
Net-Twitter-3.07000/lib/Net/Twitter/
Net-Twitter-3.07000/lib/Net/Twitter/Role/
Net-Twitter-3.07000/lib/Net/Twitter/Role/WrapError.pm
Net-Twitter-3.07000/lib/Net/Twitter/Role/Legacy.pm
Net-Twitter-3.07000/lib/Net/Twitter/Role/API/
Net-Twitter-3.07000/lib/Net/Twitter/Role/API/Search.pm
Net-Twitter-3.07000/lib/Net/Twitter/Role/API/TwitterVision.pm
Net-Twitter-3.07000/lib/Net/Twitter/Role/API/Laconica/
Net-Twitter-3.07000/lib/Net/Twitter/Role/API/Laconica/Group.pm
Net-Twitter-3.07000/lib/Net/Twitter/Role/API/REST.pm
Net-Twitter-3.07000/lib/Net/Twitter/Role/OAuth.pm
Net-Twitter-3.07000/lib/Net/Twitter/Role/InflateObjects.pm
Net-Twitter-3.07000/lib/Net/Twitter/API.pm
Net-Twitter-3.07000/lib/Net/Twitter/Search.pm
Net-Twitter-3.07000/lib/Net/Twitter/Core.pm
Net-Twitter-3.07000/lib/Net/Twitter/OAuth.pm
Net-Twitter-3.07000/lib/Net/Twitter/Error.pm
Net-Twitter-3.07000/lib/Net/Twitter.pod
Net-Twitter-3.07000/Changes
Net-Twitter-3.07000/MANIFEST
Net-Twitter-3.07000/examples/
Net-Twitter-3.07000/examples/oauth_webapp.pl
Net-Twitter-3.07000/examples/oauth_desktop.pl
Net-Twitter-3.07000/README
Net-Twitter-3.07000/src/
Net-Twitter-3.07000/src/net-twitter-pod.tt2
Net-Twitter-3.07000/src/build.pl
Net-Twitter-3.07000/t/
Net-Twitter-3.07000/t/22_twitter_insanity.t
Net-Twitter-3.07000/t/20_exceptions.t
Net-Twitter-3.07000/t/lib/
Net-Twitter-3.07000/t/lib/TestUA.pm
Net-Twitter-3.07000/t/13_search.t
Net-Twitter-3.07000/t/99-pod_syntax.t
Net-Twitter-3.07000/t/02_fails.t
Net-Twitter-3.07000/t/40_nt_subclasses.t
Net-Twitter-3.07000/t/11_useragent.t
Net-Twitter-3.07000/t/50_inflate_objects.t
Net-Twitter-3.07000/t/99-pod_coverage.t
Net-Twitter-3.07000/t/21_wraperror.t
Net-Twitter-3.07000/t/10_net-twitter-regression.t
Net-Twitter-3.07000/t/12_identica.t
Net-Twitter-3.07000/t/01_basic.t
Net-Twitter-3.07000/t/51_since.t
Net-Twitter-3.07000/t/00_load.t
Net-Twitter-3.07000/t/14_authenticate.t
Net-Twitter-3.07000/t/30_legacy.t
Net-Twitter-3.07000/t/20_generated.t
Net-Twitter-3.07000/t/15_subclass.t
Net-Twitter-3.07000/t/99-pod_spelling.t
Net-Twitter-3.07000/META.yml
Net-Twitter-3.07000/Makefile.PL
Net-Twitter-3.07000/inc/
Net-Twitter-3.07000/inc/Module/
Net-Twitter-3.07000/inc/Module/Install.pm
Net-Twitter-3.07000/inc/Module/Install/
Net-Twitter-3.07000/inc/Module/Install/WriteAll.pm
Net-Twitter-3.07000/inc/Module/Install/Fetch.pm
Net-Twitter-3.07000/inc/Module/Install/Win32.pm
Net-Twitter-3.07000/inc/Module/Install/Include.pm
Net-Twitter-3.07000/inc/Module/Install/Repository.pm
Net-Twitter-3.07000/inc/Module/Install/AutoInstall.pm
Net-Twitter-3.07000/inc/Module/Install/Base.pm
Net-Twitter-3.07000/inc/Module/Install/Metadata.pm
Net-Twitter-3.07000/inc/Module/Install/Can.pm
Net-Twitter-3.07000/inc/Module/Install/Makefile.pm
Net-Twitter-3.07000/inc/Module/Install/AutoManifest.pm
Net-Twitter-3.07000/inc/Module/AutoInstall.pm
CPAN: File::Temp loaded ok (v0.21)
CPAN: YAML loaded ok (v0.68)

  CPAN.pm: Going to build M/MM/MMIMS/Net-Twitter-3.07000.tar.gz

*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
*** Since we're running under CPAN, I'll just let it take care
    of the dependency's installation later.
[Core Features]
- Carp                       ...loaded. (1.04)
- Digest::SHA                ...loaded. (5.47)
- Net::Netrc                 ...loaded. (2.12)
- Scalar::Util               ...loaded. (1.19)
- Data::Visitor::Callback    ...loaded. (0)
- DateTime                   ...loaded. (0.35)
- DateTime::Format::Strptime ...loaded. (1.0800)
- HTML::Entities             ...loaded. (1.35)
- HTTP::Request::Common      ...loaded. (5.824)
- JSON::Any                  ...loaded. (1.21 >= 1.21)
- LWP::UserAgent             ...loaded. (5.829 >= 2.032)
- Moose                      ...loaded. (0.87 >= 0.85)
- Moose::Exporter            ...loaded. (0.87)
- Moose::Role                ...loaded. (0.87)
- MooseX::AttributeHelpers   ...loaded. (0.21)
- MooseX::MultiInitArg       ...loaded. (0.01)
- namespace::autoclean       ...loaded. (0.09 >= 0.09)
- Net::OAuth                 ...loaded. (0.19 >= 0.16)
- URI                        ...loaded. (1.40 >= 1.4)
- URI::Escape                ...loaded. (3.29)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Writing Makefile for Net::Twitter
cp lib/Net/Identica.pm blib/lib/Net/Identica.pm
cp lib/Net/Twitter/Search.pm blib/lib/Net/Twitter/Search.pm
cp lib/Net/Twitter/Role/OAuth.pm blib/lib/Net/Twitter/Role/OAuth.pm
cp lib/Net/Twitter.pod blib/lib/Net/Twitter.pod
cp lib/Net/Twitter/Role/API/TwitterVision.pm
blib/lib/Net/Twitter/Role/API/TwitterVision.pm
cp lib/Net/Twitter/Role/API/Laconica/Group.pm
blib/lib/Net/Twitter/Role/API/Laconica/Group.pm
cp lib/Net/Twitter.pm blib/lib/Net/Twitter.pm
cp lib/Net/Twitter/Role/InflateObjects.pm
blib/lib/Net/Twitter/Role/InflateObjects.pm
cp lib/Net/Twitter/Error.pm blib/lib/Net/Twitter/Error.pm
cp lib/Net/Twitter/Role/API/REST.pm blib/lib/Net/Twitter/Role/API/REST.pm
cp lib/Net/Twitter/OAuth.pm blib/lib/Net/Twitter/OAuth.pm
cp lib/Net/Twitter/Core.pm blib/lib/Net/Twitter/Core.pm
cp lib/Net/Twitter/API.pm blib/lib/Net/Twitter/API.pm
cp lib/Net/Twitter/Role/API/Search.pm blib/lib/Net/Twitter/Role/API/Search.pm
cp lib/Net/Twitter/Role/WrapError.pm blib/lib/Net/Twitter/Role/WrapError.pm
cp lib/Net/Twitter/Role/Legacy.pm blib/lib/Net/Twitter/Role/Legacy.pm
lib/Net/Twitter/Role/OAuth.pm:236: Unknown command paragraph "=encoding utf-8"
Manifying blib/man3/Net::Identica.3pm
Manifying blib/man3/Net::Twitter::Role::InflateObjects.3pm
Manifying blib/man3/Net::Twitter::Error.3pm
Manifying blib/man3/Net::Twitter::Role::OAuth.3pm
Manifying blib/man3/Net::Twitter::Search.3pm
Manifying blib/man3/Net::Twitter::Role::API::REST.3pm
Manifying blib/man3/Net::Twitter::Role::API::TwitterVision.3pm
Manifying blib/man3/Net::Twitter.3pm
Manifying blib/man3/Net::Twitter::OAuth.3pm
Manifying blib/man3/Net::Twitter::Core.3pm
Manifying blib/man3/Net::Twitter::API.3pm
Manifying blib/man3/Net::Twitter::Role::API::Search.3pm
Manifying blib/man3/Net::Twitter::Role::WrapError.3pm
Manifying blib/man3/Net::Twitter::Role::API::Laconica::Group.3pm
Manifying blib/man3/Net::Twitter::Role::Legacy.3pm
  MMIMS/Net-Twitter-3.07000.tar.gz
  /usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00_load.t
t/01_basic.t t/02_fails.t t/10_net-twitter-regression.t
t/11_useragent.t t/12_identica.t t/13_search.t t/14_authenticate.t
t/15_subclass.t t/20_exceptions.t t/20_generated.t t/21_wraperror.t
t/22_twitter_insanity.t t/30_legacy.t t/40_nt_subclasses.t
t/50_inflate_objects.t t/51_since.t t/99-pod_coverage.t
t/99-pod_spelling.t t/99-pod_syntax.t
t/00_load......................# Testing Net::Twitter 3.07, Perl
5.008008, /usr/bin/perl
ok
t/01_basic.....................ok
t/02_fails.....................ok
t/10_net-twitter-regression....ok
t/11_useragent.................ok
t/12_identica..................ok
t/13_search....................ok
t/14_authenticate..............ok
t/15_subclass..................# subclass with new
# subclass without new
# valid Moose subclass
# class reuse
ok
t/20_exceptions................ok
t/20_generated.................ok
t/21_wraperror.................ok
t/22_twitter_insanity..........ok
t/30_legacy....................ok
t/40_nt_subclasses.............ok
t/50_inflate_objects...........ok
t/51_since.....................Bareword "done_testing" not allowed
while "strict subs" in use at t/51_since.t line 54.
Execution of t/51_since.t aborted due to compilation errors.
 Dubious, test returned 255 (wstat 65280, 0xff00)
 No subtests run
t/99-pod_coverage..............skipped: set TEST_POD to enable this test
t/99-pod_spelling..............skipped: set TEST_POD to enable this test
t/99-pod_syntax................skipped: set TEST_POD to enable this test

Test Summary Report
-------------------
t/15_subclass              (Wstat: 0 Tests: 27 Failed: 0)
  TODO passed:   13-16, 18
t/51_since                 (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=20, Tests=1155, 57 wallclock secs ( 1.19 usr  0.12 sys + 49.95
cusr  1.67 csys = 52.93 CPU)
Result: FAIL
Failed 1/20 test programs. 0/1155 subtests failed.
make: *** [test_dynamic] Error 255
  MMIMS/Net-Twitter-3.07000.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports MMIMS/Net-Twitter-3.07000.tar.gz
Running make install
  make test had returned bad status, won't install without force
---
Flags:
    category=utilities
    severity=medium
---
Site configuration information for perl v5.8.8:

Configured by Debian Project at Wed Dec  6 23:17:41 UTC 2006.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=linux, osvers=2.6.18.3, archname=i486-linux-gnu-thread-multi
    uname='linux saens 2.6.18.3 #1 smp sat nov 25 13:39:52 est 2006
i686 gnulinux '
    config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN
-Dcccdlflags=-fPIC -Darchname=i486-linux-gnu -Dprefix=/usr
-Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8
-Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl/5.8.8
-Dsitearch=/usr/local/lib/perl/5.8.8 -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 -Uusesfio -Uusenm
-Duseshrplib -Dlibperl=libperl.so.5.8.8 -Dd_dosuid -des'
    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=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='4.1.2 20061115 (prerelease) (Debian
4.1.1-20)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
    perllibs=-ldl -lm -lpthread -lc -lcrypt
    libc=/lib/libc-2.3.6.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8
    gnulibc_version='2.3.6'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:


---
@INC for perl v5.8.8:
    /etc/perl
    /usr/local/lib/perl/5.8.8
    /usr/local/share/perl/5.8.8
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.8
    /usr/share/perl/5.8
    /usr/local/lib/site_perl
    /usr/local/lib/perl/5.8.7
    /usr/local/share/perl/5.8.7
    /usr/local/lib/perl/5.8.4
    /usr/local/share/perl/5.8.4
    .

---
Environment for perl v5.8.8:
    HOME=/home/sat
    LANG=en_CA
    LANGUAGE=us
    LC_MESSAGES=
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/sbin:/usr/sbin
    PERL_BADLANG (unset)
    SHELL=/bin/bash


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About