[Bucardo-general] Having issue compiling bucardo 4.99.2-16-g30829e2

Jon Guidry jon.guidry.jozw at statefarm.com
Mon Nov 7 21:17:06 UTC 2011


Hi there -

I have a CentOS 5.7 (x64) system, running postgresql 9.1, perl 5.10.0, and all the appropriate modules in place.

perl Makefile.pl works fine.  No warnings.

Make test threw a vstring error, which I had to edit line 10 in check_bucard_sync and put "use 5.010_000;" - that got rid of the error.

However, after passing test #1, it throws an error about no test database being created.  Any idea on what I need to do to fix this?  Do I need to manually create this database, or is the make test supposed to take care of this?

Thanks!
Jon

# make test
cp bucardo blib/script/bucardo
/opt/perl5.10.0/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/bucardo
PERL_DL_NONLAZY=1 /opt/perl5.10.0/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-release.t .......... skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/01-basic.t ............ ok
t/02-bctl-customname.t .. Could not open "bucardo_test_database_A_9.1/postgresql.conf": No such file or directory
# Looks like your test exited with 512 before it could output anything.
t/02-bctl-customname.t .. Failed 18/18 subtests
t/02-bctl-db.t .......... Could not open "bucardo_test_database_A_9.1/postgresql.conf": No such file or directory
# Looks like your test exited with 512 before it could output anything.
t/02-bctl-db.t .......... Failed 47/47 subtests
t/02-bctl-dbg.t ......... Could not open "bucardo_test_database_A_9.1/postgresql.conf": No such file or directory
# Looks like your test exited with 512 before it could output anything.
t/02-bctl-dbg.t ......... Failed 24/24 subtests
t/02-bctl-herd.t ........ Could not open "bucardo_test_database_A_9.1/postgresql.conf": No such file or directory
# Looks like your test exited with 512 before it could output anything.
t/02-bctl-herd.t ........ Failed 7/7 subtests
t/02-bctl-sync.t ........ Could not open "bucardo_test_database_A_9.1/postgresql.conf": No such file or directory
# Looks like your test exited with 512 before it could output anything.
t/02-bctl-sync.t ........ Failed 1/1 subtests
t/02-bctl-table.t ....... Could not open "bucardo_test_database_A_9.1/postgresql.conf": No such file or directory
# Looks like your test exited with 512 before it could output anything.
t/02-bctl-table.t ....... Failed 32/32 subtests
t/10-fullcopy.t ......... 1/339 Could not open "bucardo_test_database_A_9.1/postgresql.conf": No such file or directory
# Looks like you planned 339 tests but ran 1.
# Looks like your test exited with 512 just after 1.
t/10-fullcopy.t ......... Failed 338/339 subtests
t/20-drizzle.t .......... skipped: Cannot test Drizzle unless the Perl module DBD::drizzle is installed
t/20-mongo.t ............ skipped: Cannot test mongo unless the Perl module MongoDB is installed
t/20-mysql.t ............ skipped: Cannot test MySQL unless the Perl module DBD::mysql is installed
t/20-oracle.t ........... skipped: Cannot test Oracle as we cannot connect to a running Oracle database: DBI connect('host=127.0.0.1;sid=o','system',...) failed: ERROR OCIEnvNlsCreate. Check ORACLE_HOME env var, NLS settings, permissions, etc. at t/20-oracle.t line 36
t/20-postgres.t ......... 1/226 Could not open "bucardo_test_database_A_9.1/postgresql.conf": No such file or directory
# Looks like you planned 226 tests but ran 1.
# Looks like your test exited with 512 just after 1.
t/20-postgres.t ......... Failed 225/226 subtests
t/20-sqlite.t ........... 1/81 Could not open "bucardo_test_database_A_9.1/postgresql.conf": No such file or directory
# Looks like you planned 81 tests but ran 1.
# Looks like your test exited with 512 just after 1.
t/20-sqlite.t ........... Failed 80/81 subtests
t/30-delta.t ............ 1/160 Could not open "bucardo_test_database_A_9.1/postgresql.conf": No such file or directory
# Looks like you planned 160 tests but ran 1.
# Looks like your test exited with 512 just after 1.
t/30-delta.t ............ Failed 159/160 subtests
t/98-cleanup.t .......... ok
t/99-lint.t ............. skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/99-perlcritic.t ....... skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/99-signature.t ........ skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/99-spellcheck.t ....... skipped: Test skipped unless environment variable RELEASE_TESTING is set
t/99-yaml.t ............. skipped: Test skipped unless environment variable RELEASE_TESTING is set

Test Summary Report
-------------------
t/02-bctl-customname.t (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 18 tests but ran 0.
t/02-bctl-db.t        (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 47 tests but ran 0.
t/02-bctl-dbg.t       (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 24 tests but ran 0.
t/02-bctl-herd.t      (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 7 tests but ran 0.
t/02-bctl-sync.t      (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/02-bctl-table.t     (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 32 tests but ran 0.
t/10-fullcopy.t       (Wstat: 0 Tests: 1 Failed: 0)
  Parse errors: Bad plan.  You planned 339 tests but ran 1.
t/20-postgres.t       (Wstat: 0 Tests: 1 Failed: 0)
  Parse errors: Bad plan.  You planned 226 tests but ran 1.
t/20-sqlite.t         (Wstat: 0 Tests: 1 Failed: 0)
  Parse errors: Bad plan.  You planned 81 tests but ran 1.
t/30-delta.t          (Wstat: 0 Tests: 1 Failed: 0)
  Parse errors: Bad plan.  You planned 160 tests but ran 1.
Files=22, Tests=34, 14 wallclock secs ( 0.12 usr  0.18 sys +  8.64 cusr  3.40 csys = 12.34 CPU)
Result: FAIL
Failed 10/22 test programs. 0/34 subtests failed.
make: *** [test_dynamic] Error 255



More information about the Bucardo-general mailing list