|Subject:||CPAN requirement on File::HomeDir on OSX breaks 64-bit perl|
CPAN now has a build dependency on File::HomeDir when using a darwin/OSX system. This is fine on 32-bit perl but if you are unlucky enough to be using a 64-bit perl on OSX (which is a trivial thing to do) you can now no longer update CPAN using the CPAN shell because File::HomeDir does not pass its tests on 64-bit (see RT #43549). The reason for this is that it uses Mac::Files to locate files and that uses Mac::Carbon which has no 64-bit implementation (RT #43551). The real fix is for an implementation of Mac::Files to exist that is based on Cocoa. The next layer of fix is to fix File::HomeDir so that it will at least skip some of the tests if it is on 64-bit. The final hack is to make CPAN work the old way if it sees that it's got a 64-bit perl on darwin. Note that most people have not noticed yet because perl5.10 does not have the correct configure switches in place to let the -Duse64bitall option work. Back porting the patch from blead fixes it so I assume that this will become a bit of an issue when 5.10.1 comes out.