<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [CMake][GTK] Error when gtk-doc is not installed is too confusing"
href="https://bugs.webkit.org/show_bug.cgi?id=145683">145683</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[CMake][GTK] Error when gtk-doc is not installed is too confusing
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>528+ (Nightly build)
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Gtk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mcatanzaro@igalia.com
</td>
</tr></table>
<p>
<div>
<pre>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 && CC=/usr/lib64/ccache/cc CFLAGS= /home/mcatanzaro/WebKit/Tools/gtk/generate-gtkdoc --skip-html && 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 "/home/mcatanzaro/WebKit/Tools/gtk/generate-gtkdoc", line 201, in <module>
saw_warnings = generate_documentation(webkitdom_generator)
File "/home/mcatanzaro/WebKit/Tools/gtk/generate-gtkdoc", line 148, in generate_documentation
return generate_doc(generator, arguments.skip_html)
File "/home/mcatanzaro/WebKit/Tools/gtk/generate-gtkdoc", line 134, in generate_doc
generator.generate(not skip_html)
File "/home/mcatanzaro/WebKit/Tools/gtk/gtkdoc.py", line 142, in generate
self._run_gtkdoc_scan()
File "/home/mcatanzaro/WebKit/Tools/gtk/gtkdoc.py", line 309, in _run_gtkdoc_scan
self._run_command(args)
File "/home/mcatanzaro/WebKit/Tools/gtk/gtkdoc.py", line 192, in _run_command
stderr=subprocess.PIPE)
File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>