[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS automake testsuite failures
From: |
Alexandre Duret-Lutz |
Subject: |
Re: CVS automake testsuite failures |
Date: |
Thu, 21 Mar 2002 17:57:15 +0100 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) |
>>> "Nicolas" == Nicolas Joly <address@hidden> writes:
Nicolas> On Thu, Mar 21, 2002 at 11:56:16AM +0100, Alexandre Duret-Lutz wrote:
>> >>> "Nicolas" == Nicolas Joly <address@hidden> writes:
>>
>> [...]
>>
Nicolas> This seems to be a `make' problem. With your recent changes to use
Nicolas> `$MAKE', it fails with Tru64 make but pass with GNU make :
>>
>> Yep. Your make create empty directories in the build tree:
[...]
>> Those mkdirs are not in the Makefile.
>>
>> The resulting tree
[...]
>> confuses the `distdir' rule. The test tries to distribute the
>> foo/bar/ and baz/ directories, but the empty directory created
>> in $(builddir) is prefered over the one in $(srcdir).
>>
>> Do you know what trigger these mkdirs?
Nicolas> It seems to be make/VPATH problem :
Nicolas> address@hidden [tmp/make]> mkdir -p foo/bar
Nicolas> address@hidden [tmp/make]> mkdir build
Nicolas> address@hidden [tmp/make]> cd build
Nicolas> address@hidden [make/build]> cat > Makefile << _EOF_
Nicolas> VPATH=..
Nicolas> all: foo/bar
Nicolas> _EOF_
Nicolas> address@hidden [make/build]> make
Nicolas> mkdir foo
Nicolas> mkdir foo/bar
Bleah. Maybe we could live with this and teach distdir how to
merge the two directories, i.e., install all the files from
$(srcdir)/foo/ in $(distdir) and overwrite them with all the
files from $(builddir)/foo/. We discussed this in the past, but
it seemed useless. Now we have a case where it would be helpful
(although $(builddir)/foo/ is empty).
http://mail.gnu.org/pipermail/automake-patches/2001-November/000425.html
--
Alexandre Duret-Lutz
- CVS automake testsuite failures, Nicolas Joly, 2002/03/08
- Re: CVS automake testsuite failures, Alexandre Duret-Lutz, 2002/03/21
- Re: CVS automake testsuite failures, Nicolas Joly, 2002/03/21
- Re: CVS automake testsuite failures, Nicolas Joly, 2002/03/21
- Re: CVS automake testsuite failures, Alexandre Duret-Lutz, 2002/03/21
- Re: CVS automake testsuite failures, Nicolas Joly, 2002/03/21
- Re: CVS automake testsuite failures,
Alexandre Duret-Lutz <=
- Re: CVS automake testsuite failures, Akim Demaille, 2002/03/22
- Re: CVS automake testsuite failures, Alexandre Duret-Lutz, 2002/03/25
- Re: CVS automake testsuite failures, Nicolas Joly, 2002/03/26
- Re: CVS automake testsuite failures, Alexandre Duret-Lutz, 2002/03/26
- Re: CVS automake testsuite failures, Nicolas Joly, 2002/03/26
- Re: CVS automake testsuite failures, Nicolas Joly, 2002/03/26