﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
8239	gimp-2.8.18 FTBFS if gtk-doc not present.	ken@…	ken@…	"With gimp-2.8.18, if gtk-doc is not present then autoreconf fails (cc 1) with messages like
{{{
gtk-doc.make:7: error: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
}}}

The book does not actually say that autoreconf ends with a zero condition code, so I tried to continue.

'make' ended in error -
{{{
Making all in libgimpbase
make[3]: Entering directory '/scratch/working/gimp-2.8.18/devel-docs/libgimpbase'
Makefile:934: *** missing separator.  Stop.
make[3]: Leaving directory '/scratch/working/gimp-2.8.18/devel-docs/libgimpbase'
make[2]: *** [Makefile:607: all-recursive] Error 1
}}}

That is the first @echo in the hunk
{{{
#
# Require gtk-doc when making dist
#
@HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs
@HAVE_GTK_DOC_FALSE@dist-check-gtkdoc:
@HAVE_GTK_DOC_FALSE@    @echo ""*** gtk-doc is needed to run 'make dist'.         ***""
@HAVE_GTK_DOC_FALSE@    @echo ""*** gtk-doc was not found when 'configure' ran.   ***""
@HAVE_GTK_DOC_FALSE@    @echo ""*** please install gtk-doc and rerun 'configure'. ***""
@HAVE_GTK_DOC_FALSE@    @false
}}}
 
My fix is to run the sed on configure itself, not configure.ac, and omit the autoreconf invocation.
"	defect	closed	high	7.10	BOOK	SVN	medium	fixed		
