Skip Menu |

This queue is for tickets about the ExtUtils-MakeMaker CPAN distribution.

Report information
The Basics
Id: 29525
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: dagolden [...] cpan.org
mcmahon [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Avoid packaging resource forks with Mac Tiger tar
Mac Tiger's version of tar apparently bundles resource forks as hidden files starting with "._". In at least one case, Statistics-Benford-0.01, these appear to have been included in the released distribution (and then were detected by problems with Pod::Coverage testing) According to http://forums.macosxhints.com/archive/index.php/t-43243.html setting "COPY_EXTENDED_ATTRIBUTES_DISABLE=true" in the environment will stop this behavior. It probably makes sense to have the Makefile set this environment flag for building the dist tarball when on Mac OSX.
Subject: Keeping ',_' files out of distribution tarballs on OS X
As reported to me in Date::PeriodParser-0.05, OS X's tar adds '._' files for every file in the distribution if any OS X program fiddles with or creates file resource forks (e.g., the Finder, TextMate) for files in the distribution. This can be blocked by setting COPY_EXTENDED_ATTRIBUTES_DISABLE=true in the shell that's executing the tar command. I have verified this as working properly when creating Date::PeriodParser-0.06. If the generated Makefile could set this in the shell used to make the tarball, it would prevent this from happening again - as far as I know, it's a no-op on any other Unixish system.
Fixed, and also should be fixed in 10.5.
On Mon Jul 30 20:00:06 2007, DAGOLDEN wrote: Show quoted text
> Mac Tiger's version of tar apparently bundles resource forks as hidden > files starting with "._". In at least one case, > Statistics-Benford-0.01, these appear to have been included in the > released distribution (and then were detected by problems with > Pod::Coverage testing)
Not only Pod::Coverage problems may happen, but the distribution may not build at all, because "._Makefile.PL" is also run and may fail with a syntax error. Or theye may be problems with signatures. Regards, Slaven