develooper Front page | perl.perl5.porters | Postings from August 2012

Fwd: FYI some modules failing tests with 5.17.3

From:
Steve Hay
Date:
August 24, 2012 12:15
Subject:
Fwd: FYI some modules failing tests with 5.17.3
Message ID:
CADED=K5yLH49jB107_BTNnvp_YmiSF6ufKywqv5Oruy-Sm+skQ@mail.gmail.com
Below is a report I received of CPAN module builds which failed under
5.17.3 but had worked with 5.16.1 or less, which I'm forwarding here
(with permission) since I won't have time to wade through it all
myself.

[The PDF file mentioned is a graph of dependencies between installed
tarballs. It is nearly 700kB so I've not included it here, but can
forward it on to anyone interested.]



---------- Forwarded message ----------
From: Danny Thomas <d.thomas@its.uq.edu.au>
Date: 24 August 2012 08:15
Subject: Re: FYI some modules failing tests with 5.17.3
To: Steve Hay <steve.m.hay@googlemail.com>



On 24/08/2012, at 6:06 AM, Steve Hay wrote:

> Thanks for the report. Would you mind if I forwarded this to
> perl5-porters@perl.org, the group who collectively maintain perl?
Here's an updated version to send it out
I sometimes look at the archives but it's not worth me being a subscriber



run today with 5.17.4-24f4b7d
and some modules updated in past few days

also extended the number of tarballs built from 550 to 750
with MojoMojo, Fey, Catalyst, Silki. These aren't ones I
use but are for testing my build process.

Attached is a pdf of modules and dependencies which is
about 3x the size I remember it being.



-----------------------------------
changes over my run with 5.17.3

NB applied a patch

Class-ErrorHandler-0.01.tar.gz  [worked in 5.16.1]  (released 15 Aug 2004)
created https://rt.cpan.org/Public/Bug/Display.html?id=79125

Data-Dump-Streamer-2.34.tar.gz  [worked in 5.16.1]
created https://rt.cpan.org/Public/Bug/Display.html?id=79127
tests PASS with 5-5.17.4-24f4b7d & Padwalker



-----------------------------------
collateral damage

Catalyst-Controller-HTML-FormFu-0.09003.tar.gz
Can't locate HTML/FormFu.pm

Getopt-Usaginator-0.0012.tar.gz
Can't locate Package/Pkg.pm

HTML-FormFu-0.09007.tar.gz
Can't locate Regexp/Common.pm

HTML-FormFu-Model-DBIC-0.09002.tar.gz
Can't locate HTML/FormFu.pm

MojoMojo-1.06.tar.gz
has quite a few instances of "Unescaped left brace in regex is deprecated"
most if not all test failures come from these
- Catalyst::Authentication::Store::DBIx::Class ...missing. (would need 0.101)
- Catalyst::Controller::HTML::FormFu           ...missing. (would need 0.03007)
- HTML::FormFu                                 ...missing. (would need 0.02000)
- HTML::FormFu::Model::DBIC                    ...missing.

MooseX-Types-XMLSchema-0.06.tar.gz
Can't locate Regexp/Common.pm

Mouse-1.00.tar.gz
circular dependency fixed in 1.001

Net-SSH-Mechanize-0.1.3.tar.gz
Can't locate Coro.pm

Package-Pkg-0.0020.tar.gz
Can't locate Mouse.pm

Rose-Planter-0.29.tar.gz
Warning: prerequisite Rose::DB::Object 0.789 not found

Silki-0.29.tar.gz
silki was for testing the build process and fails to install
  * postgres is not installed
  * Image::Magick is not installed [lots of deps]
  * t/Silki/Markdent/Dialect/Silki.t can't find Test::Markdent even
though Markdent is installed
  * maybe others, but those failures could be collateral damage

TryCatch-1.003000.tar.gz
Can't locate Scope/Upper.pm

W3C-SOAP-v0.0.4.tar.gz
Can't locate TryCatch.pm
Can't locate MooseX/Types/XMLSchema.pm

XML-LibXSLT-1.77.tar.gz
Because RHEL5 has /usr/lib/libxslt.so.1.1.17
running xslt-config... failed
XML::LibXSLT needs libxslt version 1.1.18 or higher







Catalyst-Authentication-Store-DBIx-Class-0.1503.tar.gz
t/03-authtest.t .......................... Can't use string
("HASH(0x3282698)") as a HASH ref while "strict refs" in use at
/opt/perl/uq.cis.perl-all.rhel5-5.17.4-24f4b7d-20120824/lib/site_perl/5.17.4/Catalyst/Component.pm
line 130.
Compilation failed in require at
/opt/perl/uq.cis.perl-all.rhel5-5.17.4-24f4b7d-20120824/lib/site_perl/5.17.4/Catalyst/Test.pm
line 154.
BEGIN failed--compilation aborted at t/03-authtest.t line 47.

# Looks like your test exited with 255 before it could output anything.
t/03-authtest.t .......................... Dubious, test returned 255
(wstat 65280, 0xff00)
Result: FAIL
Failed 4/12 test programs. 0/5 subtests failed.



Coro-6.08.tar.gz
built successfully yesterday with 5.14.2, 5.16.1 & 5.17.3
now mosts tests FAIL with 5-5.17.4-24f4b7d
Result: FAIL
Failed 17/20 test programs. 0/73 subtests failed.



DBD-Pg-2.19.3.tar.gz
NB only recently included DBD::Pg as a pre-requisite for something
t/00_signature.t .... skipped: Set the environment variable
TEST_SIGNATURE to enable this test
t/00basic.t ......... ok
t/01connect.t ....... Please wait, creating new database for testing
t/01connect.t ....... 1/15 #
# DBI                         Version 1.622
# DBD::Pg                     Version 2.19.3
# Perl                        Version 5.17.4
# OS                          linux
# PostgreSQL (compiled)       80123
# PostgreSQL (target)         80123
# PostgreSQL (reported)       PostgreSQL 8.1.23 on
x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20080704 (Red
Hat 4.1.2-52)
# Default port                5432
# DBI_DSN
dbi:Pg:db="postgres";port=5440;host=/tmp/dbdpg_testdatabase_mfFR9j/data/socket
# DBI_USER                    postgres
# Test schema                 dbd_pg_testschema
# LANG                        C
# backslash_quote             safe_encoding
# client_encoding             UTF8
# server_encoding             UTF8
# standard_conforming_strings off
# Adjusted:                   initdb
t/09arrays.t ........ 1/200 # Looks like you planned 200 tests but ran 197.
t/09arrays.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/200 subtests
        (less 23 skipped subtests: 174 okay)
Result: FAIL
Failed 1/15 test programs. 0/1688 subtests failed.



DBIx-Class-Schema-Loader-0.07025.tar.gz
lots of "Unescaped left brace in regex"  tests
lots of "Unescaped left brace in regex" from Lingua/EN/Tagger.pm
Result: FAIL
Failed 4/41 test programs. 39/1357 subtests failed.



Devel-Size-0.78.tar.gz
built successfully yesterday with 5.14.2, 5.16.1
but 5.17.3 had

  t/code.t ...... 1/12
  #   Failed test 'CV stubbed at compiletime is larger (CvOUTSIDE is
set and followed)'
  #   at t/code.t line 18.
  #     '10358'
  #         >
  #     '10358'
  # Looks like you failed 1 test of 12.
  t/code.t ...... Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/12 subtests
  t/globs.t ..... Failed 35/44 subtests
  t/recurse.t ... Failed 4/84 subtests
so 5-5.17.4-24f4b7d-20120824 has some improvement

  t/basic.t ..... Failed 21/30 subtests
  t/code.t ...... Failed 12/12 subtests
  t/globs.t ..... Failed 35/44 subtests
  t/recurse.t ... Failed 4/84 subtests
  Result: FAIL
  Failed 4/9 test programs. 0/120 subtests failed.



Email-MIME-CreateHTML-1.030.tar.gz
t/Email-MIME-CreateHTML.t ........... Failed 1/49 subtests
Result: FAIL
Failed 1/4 test programs. 1/73 subtests failed.



File-MimeInfo-0.16.tar.gz
several tests fail so
#   Failed test 'glob 1 matches an expected value'
#   at t/01_normal.t line 35.
# {
#   'expected_one_of' => [
#     '(?-xism:^.*\\.pl$)',
#     '(?^u:^.*\\.pl$)'
#   ],
#   'got' => '(?^:^.*\\.pl$)'
# }
Result: FAIL
Failed 1/8 test programs. 4/76 subtests failed.



Regexp-Common-2011121001.tar.gz
created https://rt.cpan.org/Public/Bug/Display.html?id=79148
several tests fail

t/test_balanced.t ................ Eval-group not allowed at runtime,
t/test_delimited.t ............... Unescaped left brace in regex is deprecated

t/test_i.t ....................... Eval-group not allowed at runtime
t/test_keep.t .................... Eval-group not allowed at runtime
t/test_sub.t ..................... Eval-group not allowed at runtime
t/test_sub_named.t ............... Eval-group not allowed at runtime
Result: FAIL
Failed 5/59 test programs. 0/231025 subtests failed.



Regexp-Grammars-1.021.tar.gz
created https://rt.cpan.org/Public/Bug/Display.html?id=79149
mosts tests FAIL "Eval-group not allowed at runtime"
Result: FAIL
Failed 58/61 test programs. 0/1 subtests failed.



Rose-DB-Object-0.799.tar.gz
lots of "Unescaped left brace in regex is deprecated" from
Convert/NLS_DATE_FORMAT.pm created
https://rt.cpan.org/Public/Bug/Display.html?id=79123
t/db-object-loader-4.t ............. 1/86
#   Failed test 'db 1 - sqlite'
#   at t/db-object-loader-4.t line 95.
# Looks like you failed 1 test of 86.
t/db-object-loader-4.t ............. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/86 subtests
        (less 51 skipped subtests: 34 okay)



Scope-Upper-0.18.tar.gz
created https://rt.cpan.org/Public/Bug/Display.html?id=79182
built successfully yesterday with 5.14.2, 5.16.1, 5.17.3
/opt/perl/uq.cis.perl-all.rhel5-5.17.4-24f4b7d-20120824/bin/perl5.17.4
/opt/perl/uq.cis.perl-all.rhel5-5.17.4-24f4b7d-20120824/lib/5.17.4/ExtUtils/xsubpp
 -typemap /opt/perl/uq.cis.perl-all.rhel5-5.17.4-24f4b7d-20120824/lib/5.17.4/ExtUtils/typemap
 Upper.xs > Upper.xsc && mv Upper.xsc Upper.c
gcc -c   -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"0.18\"
-DXS_VERSION=\"0.18\" -fPIC
"-I/opt/perl/uq.cis.perl-all.rhel5-5.17.4-24f4b7d-20120824/lib/5.17.4/x86_64-linux/CORE"
 -DSU_RELEASE=0 Upper.c
Upper.xs: In function ‘su_uid_storage_dup’:
Upper.xs:268: warning: unused variable ‘old_alloc’
Upper.xs: In function ‘su_uplevel_restore’:
Upper.xs:1266: error: ‘PADLIST’ has no member named ‘sv_u’
Upper.xs:1277: error: ‘PADLIST’ has no member named ‘sv_u’
make: *** [Upper.o] Error 1



Template-Alloy-1.016.tar.gz
created https://rt.cpan.org/Public/Bug/Display.html?id=79151
lots of "Unescaped left brace in regex is deprecated"
t/05_tt_base.t .......... 1/3068 Unescaped left brace in regex is
deprecated, passed through in regex; marked by <-- HERE in m/ \G \${
<-- HERE  / at /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.4-24f4b7d-20120824/tarball-build/Template-Alloy-1.016/blib/lib/Template/Alloy/Parse.pm
line 147.

# testing stderr ... ok
#   Failed test 'Line 1179   "[% USE FooTest2 %]one"'
#   at t/05_tt_base.t line 70.
# Was:

# Should've been:
one
# Looks like you planned 3068 tests but ran 783.
# Looks like you failed 1 test of 783 run.
t/05_tt_base.t .......... Dubious, test returned 1 (wstat 256, 0x100)
Failed 2286/3068 subtests
Result: FAIL
Failed 1/10 test programs. 1/2087 subtests failed.



Text-Xslate-1.5017.tar.gz

emailed author as I don't have github account
t/010_internals/200_leaktrace.t ............... 1/?
#   Failed test 'builtin method for $hash.kv() (leaks 5 <= 0)'
#   at t/010_internals/200_leaktrace.t line 200.
#     '5'
#         <=
#     '0'
# leaked ARRAY(0x10456cb0) from t/010_internals/200_leaktrace.t line 193.

#  192:    no_leaks_ok {
#  193:        my $result = $tx->render('<string>', \%vars);
#  194:
# SV = PVAV(0x1045c858) at 0x10456cb0

#   REFCNT = 1
#   FLAGS = (OBJECT)
#   STASH = 0xf200bf8   "Text::Xslate::Type::Pair"
#   ARRAY = 0xefe9320

#   FILL = 1
#   MAX = 1
#   ARYLEN = 0x0
#   FLAGS = (REAL)
#     Elt No. 0
#     SV = PV(0x1043c080) at 0x10462710

#       REFCNT = 1
#       FLAGS = (POK,FAKE,READONLY,pPOK)
#       PV = 0x1040b060 "Xslate"

#       CUR = 6
#       LEN = 0
#     Elt No. 1
#     SV = IV(0x10462448) at 0x10462458

#       REFCNT = 1
#       FLAGS = (IOK,pIOK)
#       IV = 42
# leaked SCALAR(0x10462710) from t/010_internals/200_leaktrace.t line 193.

#  192:    no_leaks_ok {
#  193:        my $result = $tx->render('<string>', \%vars);
#  194:
# SV = PV(0x1043c080) at 0x10462710

#   REFCNT = 1
#   FLAGS = (POK,FAKE,READONLY,pPOK)
#   PV = 0x1040b060 "Xslate"

#   CUR = 6
#   LEN = 0
# leaked SCALAR(0x10462458) from t/010_internals/200_leaktrace.t line 193.

#  192:    no_leaks_ok {
#  193:        my $result = $tx->render('<string>', \%vars);
#  194:
# SV = IV(0x10462448) at 0x10462458

#   REFCNT = 1
#   FLAGS = (IOK,pIOK)
#   IV = 42
# Looks like you failed 1 test of 24.
t/010_internals/200_leaktrace.t ............... Dubious, test returned
1 (wstat 256, 0x100)
Failed 1/24 subtests
Result: FAIL
Failed 1/156 test programs. 1/2677 subtests failed.



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