On Tue, Sep 02, 2008 at 04:38:20PM -0500, Graham Barr wrote:
> On Sep 2, 2008, at 4:10 PM, David Cantrell wrote:
> >>I already know that my distributions don't work if you don't  
> >>install the
> >>dependencies
> >I'm pretty damned sure that this a straw man.  Can you point at any
> >regular tester who *right now* is regularly failing to follow the
> >dependency chain?
> Well I got two reports from you today which reported a FAIL because a  
> listed dependency was not installed
> http://www.nntp.perl.org/group/perl.cpan.testers/2008/09/msg2126464.html
> http://www.nntp.perl.org/group/perl.cpan.testers/2008/09/msg2125771.html

$ tar tzvf perl-ldap-0.37.tar.gz
?rw-rw-rw- root/root        52 2008-08-28 12:52:15 pax_global_header unknown fil
e type `g'
drwxrwxr-x root/root         0 2008-08-28 12:52:15 perl-ldap-0.37/
-rw-rw-r-- root/root        32 2008-08-28 12:52:15 perl-ldap-0.37/.gitignore
-rw-rw-r-- root/root      1349 2008-08-28 12:52:15 perl-ldap-0.37/CREDITS
...

(exactly what it says for the first file varies from one version of tar
to another, and even from one version of GNU tar to another)

That first file is the problem.  Because the distribution doesn't untar
cleanly into a subdirectory, CPAN.pm creates a subdir for you and untars
into that.  It then goes into that subdir and tries to do the usual
Makefile.PL/make/make test/make install dance.  Seeing that there's no
Makefile.PL in that directory, it creates one for you, and then
everything goes pear-shaped because that Makefile.PL doesn't list any
dependencies.

This might also explain why the distribution doesn't appear on
search.cpan.org.

Hope that helps!

-- 
David Cantrell | Enforcer, South London Linguistic Massive

Computer Science is about lofty design goals and careful algorithmic
optimisation.  Sysadminning is about cleaning up the resulting mess.

Reply via email to