[Webkit-unassigned] [Bug 224926] New: Build error: Couldn't find include 'Soup-2.4.gir'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 22 04:17:24 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224926

            Bug ID: 224926
           Summary: Build error: Couldn't find include 'Soup-2.4.gir'
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fjimenez at igalia.com
                CC: bugs-noreply at webkitgtk.org

I see the following build error with r276428:

```
[20/136] Generating ../docs-build-no-html.stamp
FAILED: docs-build-no-html.stamp
cd /home/ferjm/dev/igalia/WebKit/WebKitBuild/Release && /usr/bin/cmake -E env CC=/usr/lib64/ccache/cc "CFLAGS=-fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare  -fno-strict-aliasing -fno-exceptions -Wno-unused-parameter" "LDFLAGS= -fuse-ld=gold -Wl,--disable-new-dtags" /usr/bin/python2.7 /home/ferjm/dev/igalia/WebKit/Tools/gtkdoc/generate-gtkdoc --gtk --skip-html && touch docs-build-no-html.stamp
Traceback (most recent call last):
  File "/home/ferjm/dev/igalia/WebKit/Tools/gtkdoc/generate-gtkdoc", line 254, in <module>
    build_gtkdoc_for_wkgtk(arguments)
  File "/home/ferjm/dev/igalia/WebKit/Tools/gtkdoc/generate-gtkdoc", line 208, in build_gtkdoc_for_wkgtk
    saw_warnings = generate_documentation(jsc_generator)
  File "/home/ferjm/dev/igalia/WebKit/Tools/gtkdoc/generate-gtkdoc", line 158, in generate_documentation
    return generate_doc(generator, arguments.skip_html)
  File "/home/ferjm/dev/igalia/WebKit/Tools/gtkdoc/generate-gtkdoc", line 145, in generate_doc
    generator.generate(not skip_html)
  File "/home/ferjm/dev/igalia/WebKit/Tools/gtkdoc/gtkdoc.py", line 146, in generate
    self._run_gtkdoc_scan()
  File "/home/ferjm/dev/igalia/WebKit/Tools/gtkdoc/gtkdoc.py", line 311, in _run_gtkdoc_scan
    self._run_command(args)
  File "/home/ferjm/dev/igalia/WebKit/Tools/gtkdoc/gtkdoc.py", line 196, in _run_command
    stderr=subprocess.PIPE)
  File "/usr/lib64/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[22/136] Generating ../../WebKit2-4.1.gir
FAILED: WebKit2-4.1.gir 
cd /home/ferjm/dev/igalia/WebKit/WebKitBuild/Release/Source/WebKit && CC=/usr/lib64/ccache/cc CFLAGS=-Wno-deprecated-declarations LDFLAGS= LD_LIBRARY_PATH="/home/ferjm/dev/igalia/WebKit/WebKitBuild/Release/lib" /usr/bin/g-ir-scanner --quiet --warn-all --symbol-prefix=webkit --identifier-prefix=WebKit --namespace=WebKit2 --nsversion=4.1 --include=GObject-2.0 --include=Gtk-3.0 --include=Soup-2.4 --include-uninstalled=/home/ferjm/dev/igalia/WebKit/WebKitBuild/Release/JavaScriptCore-4.1.gir --library=webkit2gtk-4.1 --library=javascriptcoregtk-4.1 -L/home/ferjm/dev/igalia/WebKit/WebKitBuild/Release/lib --no-libtool --pkg=gobject-2.0 --pkg=gtk+-3.0 --pkg=libsoup-2.4 --pkg-export=webkit2gtk-4.1 --output=/home/ferjm/dev/igalia/WebKit/WebKitBuild/Release/WebKit2-4.1.gir --sources-top-dirs=/home/ferjm/dev/igalia/WebKit/WebKitBuild/Release --c-include="webkit2/webkit2.h" -DBUILDING_WEBKIT -DWEBKIT2_COMPILATION

[...]

Couldn't find include 'Soup-2.4.gir' (search path: '['/usr/share', '/home/ferjm/.local/share/flatpak/exports/share/gir-1.0', '/var/lib/flatpak/exports/share/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/var/lib/snapd/desktop/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']')
```

I had libsoup 2.72.0 installed locally via dnf and I had to manually build and install 2.99.3 to make the configure step pass.

I see Soup-3.0.gir but no Soup-2.4.gir in /usr/local/share/gir-1.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210422/b3525a0d/attachment.htm>


More information about the webkit-unassigned mailing list