Bug 145683 - [CMake][GTK] Error when gtk-doc is not installed is too confusing
Summary: [CMake][GTK] Error when gtk-doc is not installed is too confusing
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 21:15 PDT by Michael Catanzaro
Modified: 2022-07-06 06:34 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2015-06-04 21:15:49 PDT
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
Comment 1 Michael Catanzaro 2022-07-06 06:34:07 PDT
gtk-doc is gone.