[Fontconfig] [PATCH] doc: fix parallel build failure

Behdad Esfahbod behdad at behdad.org
Wed Oct 5 12:12:56 PDT 2011


Fixed.  Thanks.

On 10/04/11 13:56, Mike Frysinger wrote:
> The sgml file generation needs a local edit-sgml helper, but doesn't
> depend on it, so when you build in parallel, it could fail like so:
> ...
> make[2]: Entering directory '.../fontconfig/doc'
> ln -s fontconfig-devel.sgml local-fontconfig-devel.sgml
> rm -f fcatomic.sgml
> rm -f fcblanks.sgml
> rm -f fccache.sgml
> ./edit-sgml ./func.sgml < 'fcatomic.fncs' > fcatomic.sgml
>   CC     edit-sgml.o
> ./edit-sgml ./func.sgml < 'fccache.fncs' > fccache.sgml
> ./edit-sgml ./func.sgml < 'fcblanks.fncs' > fcblanks.sgml
> /bin/sh: ./edit-sgml: No such file or directory
> make[2]: *** [fcatomic.sgml] Error 127
> make[2]: *** Waiting for unfinished jobs....
> /bin/sh: ./edit-sgml: No such file or directory
> /bin/sh: ./edit-sgml: No such file or directory
> make[2]: *** [fccache.sgml] Error 127
> make[2]: *** [fcblanks.sgml] Error 127
> make[2]: Leaving directory '.../fontconfig/doc'
> ...
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  doc/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/doc/Makefile.am b/doc/Makefile.am
> index 8d7d5c8..cfbe87a 100644
> --- a/doc/Makefile.am
> +++ b/doc/Makefile.am
> @@ -102,7 +102,7 @@ if CROSS_COMPILING
>  .fncs.sgml:
>  	@echo Warning: cannot rebuild $@ when cross-compiling
>  else
> -.fncs.sgml:
> +.fncs.sgml: $(noinst_PROGRAMS)
>  	$(RM) $@
>  	./edit-sgml$(EXEEXT) $(FNCS_TMPL) < '$<' > $*.sgml
>  endif


More information about the Fontconfig mailing list