Re: [Module::Build] Problem building XS modules on AIX
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <Ra...@Th...> - 2003-11-20 02:48:08
|
On 11/19/2003 5:48 PM, James.FitzGibbon wrote:
> It works to build Pod::Coverage 0.12 on AIX, but the M::B XS test itself
> fails. It only fails two of ten tests, and those are related to
> cleanup:
>
> t/xs............ok 8/10Can't remove directory blib/arch/auto/XSTest: Do
> not specify an existing file. at
> /home_dir/jfitzgi/work/Module-Build-0.21/blib/lib/Module/Build/Base.pm
> line 1792
> Can't remove directory blib/arch/auto: Do not specify an existing file.
> at
> /home_dir/jfitzgi/work/Module-Build-0.21/blib/lib/Module/Build/Base.pm
> line 1792
> Can't remove directory blib/arch: Do not specify an existing file. at
> /home_dir/jfitzgi/work/Module-Build-0.21/blib/lib/Module/Build/Base.pm
> line 1792
> Can't remove directory blib: Do not specify an existing file. at
> /home_dir/jfitzgi/work/Module-Build-0.21/blib/lib/Module/Build/Base.pm
> line 1792
> # Test 9 got: 'Couldn't remove 'blib': Do not specify an existing file.
> ' (t/xs.t at line 72)
> # Expected: ''
> # Failed test 10 in t/xs.t at line 75
> t/xs............FAILED tests 9-10
> Failed 2/10 tests, 80.00% okay
> Failed Test Stat Wstat Total Fail Failed List of Failed
> ------------------------------------------------------------------------
> -------
> t/xs.t 10 2 20.00% 9-10
> 1 test skipped.
> Failed 1/10 test scripts, 90.00% okay. 2/157 subtests failed, 98.73%
> okay.
>
> The test code is:
>
> eval {$m->dispatch('realclean')};
> ok $@, '';
>
> # Make sure blib/ is gone after 'realclean'
> ok not -e 'blib';
>
> So, this may not be the fault of the patch but instead bad assumptions
> on
> the part of the test. On the other hand, this same test passed with the
> second revision of the patch (the current one being #3 I believe).
>
> It may also be related to me running the test on an NFS mounted homedir.
> I tried it on a local disk and it passed. So, I'm willing to write off
> the
> failures to the assumptions of the test suite and say it's a good
> candidate for
> then next release unless someone has an OS/2 or VMS box to pound on it
> with.
>
> Thanks to everyone who helped.
>
Ok, so this is likely a problem with delete_filetree in M::B::Base on
NFS. I no nothing of NFS, so I'll get off at this station...
Randy.
|