<<< Date Index >>>     <<< Thread Index >>>

Re: Errors when building Mutt



On Sunday, 18 September 2005 at 02:02, Vincent Lefevre wrote:
> On 2005-09-18 01:49:01 +0200, Vincent Lefevre wrote:
> > I can't reproduce it either with "/usr/bin/make -j2" either.
> 
> In fact, the problem sometimes occurs with "/usr/bin/make -j2".
> I could notice that some command is executed twice (not always
> the same one). For instance, the "if gcc ... fi":
> 
> [...]
> make[3]: Entering directory `/home/vlefevre/software/mutt/mutt'
> if gcc -DPKGDATADIR=\"/home/vlefevre/share/mutt\" 
> -DSYSCONFDIR=\"/home/vlefevre/etc\" 
> -DBINDIR=\"/home/vlefevre/i686-linux/bin\" 
> -DMUTTLOCALEDIR=\"/home/vlefevre/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -I. 
> -I. -I. -I./imap  -Iintl  -I./intl -I/home/vlefevre/include  -Wall -pedantic 
> -g -O2 -MT makedoc.o -MD -MP -MF ".deps/makedoc.Tpo" -c -o makedoc.o 
> makedoc.c; \
> then mv -f ".deps/makedoc.Tpo" ".deps/makedoc.Po"; else rm -f 
> ".deps/makedoc.Tpo"; exit 1; fi
> make[4]: Entering directory `/home/vlefevre/software/mutt/mutt'
> if gcc -DPKGDATADIR=\"/home/vlefevre/share/mutt\" 
> -DSYSCONFDIR=\"/home/vlefevre/etc\" 
> -DBINDIR=\"/home/vlefevre/i686-linux/bin\" 
> -DMUTTLOCALEDIR=\"/home/vlefevre/share/locale\" -DHAVE_CONFIG_H=1 -I. -I. -I. 
> -I. -I. -I./imap  -Iintl  -I./intl -I/home/vlefevre/include  -Wall -pedantic 
> -g -O2 -MT makedoc.o -MD -MP -MF ".deps/makedoc.Tpo" -c -o makedoc.o 
> makedoc.c; \
> then mv -f ".deps/makedoc.Tpo" ".deps/makedoc.Po"; else rm -f 
> ".deps/makedoc.Tpo"; exit 1; fi
> gcc  -Wall -pedantic -g -O2   -o makedoc  makedoc.o  
> mv: cannot stat `.deps/makedoc.Tpo': No such file or directory
> 
> Is it a bug in "make" or is there some missing dependency problem?

It was probably introduced when I had the manual.xml target
automatically call make ../makedoc. You could try removing that line
to see if the error goes away, but I think we need a different fix to
ensure that makedoc is up-to-date. I'll play around a bit...

Attachment: pgp5pckVWCxmB.pgp
Description: PGP signature