GNU bug report logs -
#10878
"make dist" with read-only srcdir generates read-only tarball
Previous Next
Reported by: Nick Bowler <nbowler <at> elliptictech.com>
Date: Fri, 24 Feb 2012 16:06:02 UTC
Severity: minor
Tags: patch
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 10878 <at> debbugs.gnu.org (full text, mbox):
On 2012-02-24 18:37 +0100, Stefano Lattarini wrote:
[...]
> On 02/24/2012 08:09 AM, Nick Bowler wrote:
> > Automake should at least add user write permissions to all files in
> > distdir prior to running dist-hook (and hence prior to generating the
> > distribution tarball).
>
> I disagree; in case the user wants to change the permission of the distributed
> files from the ones that they have in the builddir/srcdir, he can do so in the
> dist-hook already, with full control (I've just added a tiny test to verify
> this behaviour, see attached patch). So we don't need to change the automake
> behaviour in this respect (but a documentation improvement might be nice, in
> case someone feels like writing it).
In that case, the manual should include a note that you should not
expect "make dist" to work properly with a read-only source tree.
Distcheck should also refrain from testing this.
As I mentioned in my original mail, "make distcheck" currently attempts
to run "make dist" with a read-only source tree, and it is causing
failures in my package because of the broken permissions.
Cheers,
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
This bug report was last modified 13 years and 147 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.