[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: [Monotone-commits-diffs] net.venge.monotone.sou
From: |
Stephen Leake |
Subject: |
Re: [Monotone-devel] Re: [Monotone-commits-diffs] net.venge.monotone.source-tree-cleanup: d54c8c17eeebbe7dd6bb30d4d10996db79de24f2 |
Date: |
Wed, 02 Feb 2011 01:55:02 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) |
Richard Levitte <address@hidden> writes:
> stephen_leake> After that, 'make distcheck' fails on Debian:
> stephen_leake>
> stephen_leake> make[3]: Entering directory
> `/home/Projects/monotone/monotone.source-tree-cleanup-build/monotone-1.0dev/_build/doc'
> stephen_leake>
> stephen_leake> ...
> stephen_leake>
> stephen_leake> cd ../../doc
> stephen_leake>
> stephen_leake> ...
> stephen_leake>
> stephen_leake> mkdir: cannot create directory `.am17349': Permission denied
> stephen_leake>
> stephen_leake> At this point, the working directory is
> stephen_leake> monotone.source-tree-cleanup-build/monotone-1.0dev/doc, which
> has
> stephen_leake> permissions dr-xr-xr-x, which is why the mkdir fails.
> stephen_leake>
> stephen_leake> Apparently distcheck doesn't expect the makefile commands to
> write to
> stephen_leake> the source directory (which makes sense); it changes the source
> stephen_leake> directory permissions to a-w. But this is a standard autotool
> hack to
> stephen_leake> backup some tex files.
> stephen_leake>
> stephen_leake> And it works in main.
>
> Yup, the backup happens when it builds .info files. Makefile.am in
> main has a hack that probably cirumvents this. I'll check that out...
The real problem is that 'make dist' does not build the info files, so
they are not in the tar file, so 'make distcheck' trys to build them in
the read-only directory.
TEXINFOS is empty in build/Makefile, and it doesn't recurse into
build/doc/Makefile
I don't know how to fix that properly.
--
-- Stephe