[Top][All Lists]

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

Re: bug#327: 23.0.60; make bootstrap fails from CVS

From: Ted Zlatanov
Subject: Re: bug#327: 23.0.60; make bootstrap fails from CVS
Date: Tue, 03 Jun 2008 14:06:09 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

On Tue, 03 Jun 2008 14:18:02 -0400 Glenn Morris <address@hidden> wrote: 

GM> If all else fails, please try asking on help-make at gnu.org.

I will.  

The build breaks with a clean environment, under bash.  I tried
modifying and deleting VPATH.

But I found something else in lisp/Makefile that may be interesting.
This rule:

TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
        els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/[^ 
]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \
        ${ETAGS} -o $@ $$els

is what breaks things.  I found that if I write it as 

TAGS TAGS-LISP: $(lisptagsfiles1)
        els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/[^ 
]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \
        ${ETAGS} -o $@ $$els

the build works up to a point.  The second dependency is

lisptagsfiles2 = $(lisp)/*/*.el

which dovetails nicely with the observation that only things in
subdirectories break the build.  Even a fake target like this:

tzz: $(lisptagsfiles2)

breaks things.

After I remove the $(lisptagsfiles2) dependency from TAGS TAGS-LISP I
proceed with the compilation until

make[1]: *** No rule to make target 
`/home/tzz/source/emacs/lisp/face-remap.elc', needed by `compile-main'.  Stop.
make[1]: Leaving directory `/home/tzz/source/emacs/lisp'
make: *** [compile] Error 2
make: Leaving directory `/home/tzz/source/emacs/lisp'

I don't understand the cause of the failures or why your changes broke
my build (since they don't do anything near the problem).  I'm puzzled.
If you have some ideas let me know, otherwise I'll go off to help-make.


reply via email to

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