develooper Front page | perl.perl5.porters | Postings from January 2012

Re: Detecting duplicate extension directories

Thread Previous | Thread Next
From:
Andy Dougherty
Date:
January 27, 2012 11:05
Subject:
Re: Detecting duplicate extension directories
Message ID:
alpine.DEB.2.00.1201271359210.25486@fractal.phys.lafayette.edu
On Fri, 27 Jan 2012, David Golden wrote:

> > I don't agree. We support building outside of git repositories, because
> >
> > a: we distribute tarballs
> > b: we build on platforms that don't support git
> 
> I agree.  I'll quote your original message back to you:
> 
> > This isn't a problem when building from a distribution tarball or
> > other clean checkout, but it is causing "fun" (ie strange noisy catastrophic
> > build failures) when anyone runs git pull on a build checkout, and then
> > runs disclean before starting again.
> 
> > We can't assume that
> >
> > a: git is present to do our work for us
> >
> > b: that we can get it to delete all the build files, without also deleting
> >   user owned files. distclean is careful to only delete the things that we
> >   know we built.
> 
> Per your identification of the problem, we can assume (a).  Regarding
> (b), I don't think we have to automate a solution, only tell the user
> that they're doing it wrong.

Actually, no.  I keep the perl sources on an NFS-mounted directory.  I use 
one system (that has git) to update the sources, but I'm often building, 
using the same directory, on a different system that doesn't have git. 
Thus when calling Configure or 'make distclean', git isn't available to do 
the work.  (Similarly, I often rsync the sources elsewhere to other 
systems that don't have git.  The same issue arises there.)

The issue is rare enough that a Configure WHOA THERE, followed by manual 
fix-up, seems fine to me.

-- 
    Andy Dougherty		doughera@lafayette.edu

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About