[MacPorts] #46461: p5.16-macosx-file @0.710.0_4: tests fail

MacPorts noreply at macports.org
Tue Jan 6 15:32:30 PST 2015


#46461: p5.16-macosx-file @0.710.0_4: tests fail
----------------------+----------------------------
 Reporter:  larryv@…  |      Owner:  larryv@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  p5-macosx-file
----------------------+----------------------------
 Lots of this, probably because 64-bit Perl is being invoked to run tests
 requiring 32-bit bundles:
 {{{
 :info:test PERL_DL_NONLAZY=1 /opt/local/bin/perl5.16
 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"
 t/*.t
 :info:test Can't load '/opt/local/var/macports/build
 /_Users_larryv_Projects_MacPorts_git-svn_trunk_dports_perl_p5-macosx-
 file/p5.16-macosx-file/work/MacOSX-
 File-0.71/blib/arch/auto/MacOSX/File/Catalog/Catalog.bundle' for module
 MacOSX::File::Catalog: dlopen(/opt/local/var/macports/build
 /_Users_larryv_Projects_MacPorts_git-svn_trunk_dports_perl_p5-macosx-
 file/p5.16-macosx-file/work/MacOSX-
 File-0.71/blib/arch/auto/MacOSX/File/Catalog/Catalog.bundle, 2): no
 suitable image found.  Did find:
 :info:test      /opt/local/var/macports/build
 /_Users_larryv_Projects_MacPorts_git-svn_trunk_dports_perl_p5-macosx-
 file/p5.16-macosx-file/work/MacOSX-
 File-0.71/blib/arch/auto/MacOSX/File/Catalog/Catalog.bundle: mach-o, but
 wrong architecture at /opt/local/lib/perl5/5.16.3/darwin-thread-multi-
 2level/DynaLoader.pm line 194.
 :info:test  at t/catalog.t line 18.
 :info:test Compilation failed in require at t/catalog.t line 18.
 :info:test BEGIN failed--compilation aborted at t/catalog.t line 18.
 :info:test t/catalog.t ..
 :info:test Dubious, test returned 2 (wstat 512, 0x200)
 :info:test Failed 7/7 subtests
 }}}

 Shoehorning an `arch -i386` in front of the Perl invocation doesn’t work,
 even though I have `perl5.16 @5.16.3_0+universal` installed. I suspect
 that each test is run by a new Perl process, and those are being invoked
 64-bit.

 Not sure how to make this work without learning some Perl (ugh).

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


More information about the macports-tickets mailing list