Bug 104515 - [Gtk] 'make install' fails during rebasing of the WebKit1 documentation
Summary: [Gtk] 'make install' fails during rebasing of the WebKit1 documentation
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Critical
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-09 23:51 PST by j_deutsch
Modified: 2014-04-08 17:47 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 j_deutsch 2012-12-09 23:51:33 PST
Hi,

after i downloaded the current stable version of webkitgtk 1.10.1 i applied the necessary patches to make-3.82.

Thereafter i started the build procedure with

    ./configure --prefix=/opt/glib/ --enable-geolocation=no

after that, the patched make, passed successfully through all steps (without any command line argument).

Unfortunately

     make install

fails afterwards with:

-------------------------------------------------------------------------------
...
...
 /usr/bin/install -c -m 644 ./Documentation/webkit2gtk/html/WebKitWindowProperties.html
  GEN    install-data-local
Rebasing WebKit1 documentation...
Traceback (most recent call last):
  File "./Tools/gtk/generate-gtkdoc", line 173, in <module>
    rebase_installed_docs(pkg_config_path, options)
  File "./Tools/gtk/generate-gtkdoc", line 149, in rebase_installed_docs
    generator = gtkdoc.PkgConfigGTKDoc(pkg_config_path, options)
  File "/home/johannes/Src/webkitgtk-1.10.1/Tools/gtk/gtkdoc.py", line 398, in __init__
    '--cflags'], print_output=False)
  File "/home/johannes/Src/webkitgtk-1.10.1/Tools/gtk/gtkdoc.py", line 198, in _run_command
    % (args[0], process.returncode))
Exception: pkg-config produced a non-zero return code 1
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/home/johannes/Src/webkitgtk-1.10.1'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/johannes/Src/webkitgtk-1.10.1'
make: *** [install] Error 2
-------------------------------------------------------------------------------
Comment 1 Richard Grenville 2013-04-08 06:23:38 PDT
I encountered the same problem with webkit-gtk-1.8.3 on Gentoo. Further debugging reveals what I met is actually a bug in pkgconf-0.9.1. When building documentation webkit-gtk executes a command like `pkg-config /build/root/webkit-1.8.3/Source/WebKit/gtk/webkit-1.0.pc --cflags`. webkit-1.0.pc depends on glib-2.0 and a few other pkgconfig modules, but pkgconf has a bug in its implementation that once it find a file based on full path the user specified, it will stop adding default search paths (/usr/lib/pkgconfig, etc.) to its search path list, resulting in a failure to find the dependencies of webkit-1.0.pc. This issue is only recently fixed by pkgconf developers < https://github.com/pkgconf/pkgconf/commit/83877eb2f7dde3a9120e7f512058f23aa9c34690 >. Hopefully it could be helpful for you.
Comment 2 Martin Robinson 2014-04-08 17:47:02 PDT
WebKit1GTK+ has been removed.