Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 463282

Summary: autotools.eclass: autoreconf, Failed Running gtkdocize if GTK_DOC_CHECK macros is optional
Product: Gentoo Linux Reporter: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Component: EclassesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gnome, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gtkdocize.out

Description Andreis Vinogradovs ( slepnoga ) 2013-03-25 21:54:19 UTC
Code from https://developer.gnome.org/gtk-doc-manual/unstable/settingup_autoconf.html.en


Example 2-3 Keep gtk-doc optional
# check for gtk-doc
m4_ifdef([GTK_DOC_CHECK], [
GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
],[
AM_CONDITIONAL([ENABLE_GTK_DOC], false)
])


If autconf.ac contain this code, autotools-utils_src_prepare run fail's with
error : Failed Running gtkdocize !

If GTK_DOC_CHECK not optional, eclass work properly.

Please fiz this bug and prowide way to running gtkdocize optional
Comment 1 Andreis Vinogradovs ( slepnoga ) 2013-03-25 21:57:39 UTC
Created attachment 343270 [details]
gtkdocize.out

I'm run eautoreconf/autotools-utils_src_prepare on libguestfs sources from 
https://github.com/libguestfs/libguestfs/blob/master

Prblem code URL: https://github.com/libguestfs/libguestfs/blob/master/configure.ac#L1483

Upstream bootstrap script work OK
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-26 07:45:43 UTC
The call is done by eautoreconf.
Comment 3 SpanKY gentoo-dev 2014-11-15 07:13:05 UTC

*** This bug has been marked as a duplicate of bug 459978 ***