[MacPorts] #46440: p5-class-dbi-mysql: tests fail

MacPorts noreply at macports.org
Tue Jan 6 05:09:04 PST 2015


#46440: p5-class-dbi-mysql: tests fail
---------------------+--------------------------------
 Reporter:  mojca@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  p5-class-dbi-mysql
---------------------+--------------------------------
 {{{
 --->  Testing p5.16-class-dbi-mysql
 PERL_DL_NONLAZY=1 /opt/local/bin/perl5.16 "-MExtUtils::Command::MM" "-e"
 "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
 DBI connect('test','',...) failed: Can't connect to local MySQL server
 through socket '/opt/local/var/run/mysql5/mysqld.sock' (2) at
 /opt/local/lib/perl5/vendor_perl/5.16.0/Ima/DBI.pm line 328.
 DBI connect('test','',...) failed: Can't connect to local MySQL server
 through socket '/opt/local/var/run/mysql5/mysqld.sock' (2) at
 /opt/local/lib/perl5/vendor_perl/5.16.0/Ima/DBI.pm line 328.
 END failed--call queue aborted at t/mysql.t line 100.
 # Looks like you planned 8 tests but ran 1.
 # Looks like your test exited with 2 just after 1.
 t/mysql.t .........
 Dubious, test returned 2 (wstat 512, 0x200)
 Failed 7/8 subtests
 t/pod-coverage.t .. skipped: Test::Pod::Coverage 1.00 required for testing
 POD coverage
 t/pod.t ........... skipped: Test::Pod 1.00 required for testing POD

 Test Summary Report
 -------------------
 t/mysql.t       (Wstat: 512 Tests: 1 Failed: 0)
   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 8 tests but ran 1.
 Files=3, Tests=1,  0 wallclock secs ( 0.04 usr  0.02 sys +  0.18 cusr
 0.05 csys =  0.29 CPU)
 Result: FAIL
 Failed 1/3 test programs. 0/1 subtests failed.
 make: *** [test_dynamic] Error 255
 Command failed:  cd "/path/to/p5.16-class-dbi-mysql/work/Class-DBI-
 mysql-1.00" && /usr/bin/make test
 Exit code: 2
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt/local/lib/perl5/vendor_perl/5.16.3/Test/Pod.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-
 2level/Cwd.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-
 2level/File/Spec.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-
 2level/File/Spec/Unix.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level/IO.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-
 2level/IO/Handle.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-
 2level/IO/Select.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-
 2level/List/Util.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-
 2level/Scalar/Util.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-
 2level/Sub/Name.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-
 2level/Time/HiRes.pm
   /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-
 2level/auto/Time/HiRes/HiRes.bundle
 The following file would have been hidden from the build system by trace
 mode if it existed:
   /usr/gnu/include
 Error: org.macports.test for port p5.16-class-dbi-mysql returned: command
 execution failed
 Warning: targets not executed for p5.16-class-dbi-mysql: org.macports.test
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port p5.16-class-dbi-mysql failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/46440>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list