monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: [Monotone-commits-diffs] net.venge.monotone.sou


From: Richard Levitte
Subject: Re: [Monotone-devel] Re: [Monotone-commits-diffs] net.venge.monotone.source-tree-cleanup: d54c8c17eeebbe7dd6bb30d4d10996db79de24f2
Date: Tue, 01 Feb 2011 15:18:29 +0100 (CET)

In message <address@hidden> on Tue, 01 Feb 2011 05:18:07 -0500, Stephen Leake 
<address@hidden> said:

stephen_leake> I'm getting an error from autoconf on Debian and MinGW:
stephen_leake> 
stephen_leake> address@hidden autoreconf -i
stephen_leake> doc/Makefile.am:44: installing `doc/mdate-sh'
stephen_leake> doc/Makefile.am:44: installing `doc/texinfo.tex'
stephen_leake> Makefile.am:600: variable `CLEAN_SOURCES' is defined but no 
program or
stephen_leake> Makefile.am:600: library has `CLEAN' as canonical name (possible 
typo)

Fixed.  Apparently, it takes CLEAN_SOURCES as {foo}_SOURCES and can't
see it referred in anything that's called {foo}_PROGRAM, {foo}_LIB and
so on, so it seems to think that we've forgotten something.

Why this doesn't happen in main, I do not know.

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 GNU standard seems to say that .info files should be distributed
with the tarball, so the user doesn't have to build them (in other
words, the user isn't required to have the tool chain that is
required).  That's why they build .info files in the source tree by
default.  Consequently, they don't expect maintainers (such as
yourself ;-)) to have r/o source directories...  which does make
sense, come to think of it.

I'm really not sure we should double-bend our backs to accomodate
people checking out monotone into a r/o source.  I can fully
understand if the dist tarball ends up being extracted into a r/o
directory, but that's really a different story.

stephen_leake> Then immediately:
stephen_leake> 
stephen_leake> ../../doc/monotone.texi: No such file or directory
stephen_leake> 
stephen_leake> This is from trying to run makeinfo. But that file
stephen_leake> exists!

Hmm...

stephen_leake> Building monotone.info not inside the distcheck directory works:
stephen_leake> 
stephen_leake> cd monotone.source-tree-cleanup-build/doc
stephen_leake> make ../../monotone.source-tree-cleanup/doc/monotone.info

Well, yeah...

stephen_leake> On MinGW, I'm getting link errors in mtn.exe.  Clearly
stephen_leake> time to go to bed and try again tomorrow ...

I would have liked to see the errors...  oh well.

Cheers,
Richard

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"Life is a tremendous celebration - and I'm invited!"
-- from a friend's blog, translated from Swedish



reply via email to

[Prev in Thread] Current Thread [Next in Thread]