[MacPorts] #46460: p5-mogilefs-server: upgrade; tests fail

MacPorts noreply at macports.org
Sat Jan 10 06:12:31 PST 2015


#46460: p5-mogilefs-server: upgrade; tests fail
---------------------------------+--------------------------------
  Reporter:  mojca@…             |      Owner:  macports-tickets@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:
Resolution:                      |   Keywords:
      Port:  p5-mogilefs-server  |
---------------------------------+--------------------------------

Comment (by devans@…):

 I've attached an updated patch which fixes the problem reported above (and
 several others) but leaves another.

 Summary of changes:
   * Change depends_run to depends_lib so that dependencies are available
 for configuration, testing
   * Can't find mogadm executable
     * mogadm is provided by p5-mogilefs-utils, add as dependency
     * add ${perl5.bin} to PATH in test so mogadm can be found
   * Add DB configuration variables (for MySQL in this case) to test
 command per TESTING
   * IO::AIO load issues due to missing dependency on p5-common-sense.
 Fixed in r131281
   * Patched provided scripts using reinplace in post-patch to use the
 right perl.  Did this in p5-mogilefs-utils too
     (r131301). Fixes another test issue.
   * Dependencies on p5-gearman* no longer required, removed
   * Removed dependency on dbd-sqlite since only one dbd-* module is
 required to test (depending on configuration). Might want to add variants
 to determine which DB back end to use with default MySQL (author's
 default). Updated comments to that effect.
   * Add license.

 After all this test now fails as follows (testing using MySQL
 configuration with running MySQL server)
 {{{
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_macports_trunk_dports_perl_p5
 -mogilefs-server/p5.20-mogilefs-server/work/MogileFS-Server-2.72" &&
 /usr/bin/make test MOGTEST_DBUSER=test MOGTEST_DBNAME=test
 MOGTEST_DBTYPE=MySQL
 PERL_DL_NONLAZY=1 /opt/local/bin/perl5.20 "-MExtUtils::Command::MM"
 "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0,
 'blib/lib', 'blib/arch')" t/*.t
 ERROR: Can't start service 'mogstored' on 127.0.1.1:7500: Error creating
 listening socket: IO::Socket::INET: Can't assign requested address
 Invalid configuration.  (shouldn't happen?)  Stopping.

 #   Failed test 'got mogstored1'
 #   at t/00-startup.t line 50.
 ERROR: Can't start service 'mogstored' on 127.0.1.2:7500: Error creating
 listening socket: IO::Socket::INET: Can't assign requested address
 Invalid configuration.  (shouldn't happen?)  Stopping.

 #   Failed test 'got mogstored2'
 #   at t/00-startup.t line 52.
 }}}

 Possibly configuration, permissions problem.

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


More information about the macports-tickets mailing list