Make test failure (DBD::Pg 2.9.0 on Linux with latest DBI)

"Chris Travers" <[email protected]>
Newsgroups gmane.comp.db.postgresql.dbdpg
Message-ID <[email protected]>
Any idea what is causing this sort of problem?

Best Wishes,
Chris Travers

[make messages snipped]
  /usr/bin/make -- OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running make test
PGINITDB="/usr/local/pgsql/bin/initdb" PERL_DL_NONLAZY=1 /usr/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/00-signature......skipped
        all skipped: Set the environment variable TEST_SIGNATURE to
enable this test
t/00basic...........ok
t/01connect.........ok 1/13#
# DBI                         Version 1.607
# DBD::Pg                     Version 2.9.0
# Perl                        Version 5.10.0
# OS                          linux
# PostgreSQL (compiled)       80104
# PostgreSQL (target)         80104
# PostgreSQL (reported)       PostgreSQL 8.1.4 on i686-pc-linux-gnu,
compiled by GCC gcc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
# Default port                5432
# DBI_DSN                     dbi:Pg:
# DBI_USER                    postgres
# Test schema                 dbd_pg_testschema
# backslash_quote             safe_encoding
# client_encoding             UTF8
# server_encoding             UTF8
# standard_conforming_strings off
# Adjusted:                   DBI_DSN
t/01connect.........ok
        5/13 skipped: various reasons
t/01constants.......ok
t/02attribs.........ok 1/250Assertion i == (((((SV *)
(name_av))->sv_flags & 0x00800000)) ? Perl_mg_size(my_perl, (SV *)
name_av) : ((XPVAV*) (name_av)->sv_any)->xav_fill)+1 failed: file
"DBI.xs", line 2001 at /usr/lib/perl5/5.10.0/Test/More.pm line 805.
# Looks like you planned 250 tests but only ran 95.
# Looks like your test died just after 95.
t/02attribs.........dubious
	Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 96-250
	Failed 155/250 tests, 38.00% okay (less 4 skipped tests: 91 okay, 36.40%)
t/03dbmethod........ok
        4/224 skipped: various reasons
t/03smethod.........ok
        2/96 skipped: various reasons
t/04misc............ok
t/06bytea...........ok
t/07copy............ok
        1/55 skipped: various reasons
t/08async...........ok
        14/67 skipped: various reasons
t/09arrays..........ok
        29/245 skipped: various reasons
t/12placeholders....ok
t/20savepoints......ok
t/99_perlcritic.....skipped
        all skipped: Set the environment variable TEST_CRITIC to
enable this test
t/99_pod............ok
        1/3 skipped: various reasons
t/99_spellcheck.....skipped
        all skipped: Set the environment variable TEST_SPELL to enable this test
t/99_yaml...........ok
        2/2 skipped: various reasons
t/99cleanup.........ok 1/1Removing test database directory
t/99cleanup.........ok
Failed Test   Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/02attribs.t  255 65280   250  310  96-250
3 tests and 62 subtests skipped.
Failed 1/19 test scripts. 155/1183 subtests failed.
Files=19, Tests=1183,  9 wallclock secs ( 2.94 cusr +  0.22 csys =  3.16 CPU)
Failed 1/19 test programs. 155/1183 subtests failed.
make: *** [test_dynamic] Error 255
  TURNSTEP/DBD-Pg-2.9.0.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports TURNSTEP/DBD-Pg-2.9.0.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running make install
  make test had returned bad status, won't install without force
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.