<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>145683</bug_id>
          
          <creation_ts>2015-06-04 21:15:49 -0700</creation_ts>
          <short_desc>[CMake][GTK] Error when gtk-doc is not installed is too confusing</short_desc>
          <delta_ts>2022-07-06 06:34:07 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1099747</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-06-04 21:15:49 -0700</bug_when>
    <thetext>If gtk-doc is not installed and gtk-doc is generated, we get a horrible build error. We should do better than this.

FAILED: cd /home/mcatanzaro/WebKit/WebKitBuild/Release &amp;&amp; CC=/usr/lib64/ccache/cc CFLAGS= /home/mcatanzaro/WebKit/Tools/gtk/generate-gtkdoc --skip-html &amp;&amp; touch docs-build-no-html.stamp
Copying template files to output directory...
Running gtkdoc-scan

Generating webkitdomgtk-4.0 documentation...
Traceback (most recent call last):
  File &quot;/home/mcatanzaro/WebKit/Tools/gtk/generate-gtkdoc&quot;, line 201, in &lt;module&gt;
    saw_warnings = generate_documentation(webkitdom_generator)
  File &quot;/home/mcatanzaro/WebKit/Tools/gtk/generate-gtkdoc&quot;, line 148, in generate_documentation
    return generate_doc(generator, arguments.skip_html)
  File &quot;/home/mcatanzaro/WebKit/Tools/gtk/generate-gtkdoc&quot;, line 134, in generate_doc
    generator.generate(not skip_html)
  File &quot;/home/mcatanzaro/WebKit/Tools/gtk/gtkdoc.py&quot;, line 142, in generate
    self._run_gtkdoc_scan()
  File &quot;/home/mcatanzaro/WebKit/Tools/gtk/gtkdoc.py&quot;, line 309, in _run_gtkdoc_scan
    self._run_command(args)
  File &quot;/home/mcatanzaro/WebKit/Tools/gtk/gtkdoc.py&quot;, line 192, in _run_command
    stderr=subprocess.PIPE)
  File &quot;/usr/lib64/python2.7/subprocess.py&quot;, line 710, in __init__
    errread, errwrite)
  File &quot;/usr/lib64/python2.7/subprocess.py&quot;, line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1880953</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-07-06 06:34:07 -0700</bug_when>
    <thetext>gtk-doc is gone.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>