On Thu, May 26, 2005 at 09:15:23PM +0200, Jérôme Marant wrote: > > Please provide the complete log.
>From the log, it seems that temacs gets rebuild during the "make install" called from emacs_inst. Because it gets rebuild it also gets run again, and when run again it makes a fns-21.4.2.el (while it already had a fns-21.4.1.el) Then later it fails because it's checked that there only is 1 file and there are 2. The problem only shows itself in the build-x and not in the build-nox dir. According to make: Finished prerequisites of target file `temacs'. Prerequisite `pre-crt0.o' is older than target `temacs'. Prerequisite `/usr/lib/crt1.o' is older than target `temacs'. Prerequisite `/usr/lib/crti.o' is older than target `temacs'. Prerequisite `stamp-oldxmenu' is newer than target `temacs'. [...] Prerequisite `xfns.o' is newer than target `temacs'. Prerequisite `xrdb.o' is newer than target `temacs'. Prerequisite `filelock.o' is newer than target `temacs'. Prerequisite `doc.o' is newer than target `temacs'. Prerequisite `lread.o' is newer than target `temacs'. Prerequisite `callproc.o' is newer than target `temacs'. [...] Must remake target `temacs'. (All other .o files where older.) Looking further at the log it seems that xfns.o is only made in the build-x dir and not in the build-nox dir. From the log: i386-linux-gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/usr/src/build/emacs21-21.4a/src -D_BSD_SOURCE -I/usr/X11R6/include -DDEBIAN -g -O2 -DPURESIZE=5000000 -I../src /usr/src/build/emacs21-21.4a/src/xfns.c [...] i386-linux-gcc -nostdlib `./prefix-args -Xlinker -R/usr/X11R6/lib -z nocombreloc -g` -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexelf.o mocklisp.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o terminfo.o lastfile.o vm-limit.o widget.o mktime.o ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw3d -lXmu -lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -lX11 -lncurses -lm -lgcc -lc -lgcc /usr/lib/crtn.o [...] i386-linux-gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/usr/src/build/emacs21-21.4a/src -D_BSD_SOURCE -I/usr/X11R6/include -DDEBIAN -g -O2 /usr/src/build/emacs21-21.4a/src/xfns.c So it seems to be right it that temacs needs to be rebuild because xfns.o is newer. So the question becomes, why does it feel to need to rebuild those files like xfns.o. I'll try to debug this a little further tomorrow. Kurt