WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
240564
[GTK] 2.36.2: build fails on building documentation with GTK 4 enabled
https://bugs.webkit.org/show_bug.cgi?id=240564
Summary
[GTK] 2.36.2: build fails on building documentation with GTK 4 enabled
Tomasz Kłoczko
Reported
2022-05-18 01:07:16 PDT
Looks like something is missing in latest version because it fails on building documentation make -f Source/CMakeFiles/gtkdoc.dir/build.make Source/CMakeFiles/gtkdoc.dir/depend make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/x86_64-redhat-linux-gnu' cd /home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2 /home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/Source /home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/x86_64-redhat-linux-gnu/Source /home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/x86_64-redhat-linux-gnu/Source/CMakeFiles/gtkdoc.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/x86_64-redhat-linux-gnu' make -f Source/CMakeFiles/gtkdoc.dir/build.make Source/CMakeFiles/gtkdoc.dir/build make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/x86_64-redhat-linux-gnu' make[2]: *** No rule to make target '../Source/WebKit/UIProcess/API/gtk/docs/webkit2gtk-5.0-sections.txt', needed by 'docs-build.stamp'. Stop. make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/x86_64-redhat-linux-gnu' make[1]: *** [CMakeFiles/Makefile2:459: Source/CMakeFiles/gtkdoc.dir/all] Error 2 make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/x86_64-redhat-linux-gnu' make: *** [Makefile:159: all] Error 2 cmake configuration [tkloczko@devel-g2v x86_64-redhat-linux-gnu]$ cmake -L CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. CMake Error: The source directory "/home/tkloczko/rpmbuild/BUILD/webkitgtk-2.36.2/x86_64-redhat-linux-gnu" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. -- Cache values ANALYZERS:BOOL=OFF BWRAP_EXECUTABLE:FILEPATH=/usr/bin/bwrap CCACHE_FOUND:FILEPATH=CCACHE_FOUND-NOTFOUND CMAKE_BUILD_TYPE:STRING=RelWithDebInfo CMAKE_INSTALL_PREFIX:PATH=/usr DBUS_PROXY_EXECUTABLE:FILEPATH=/usr/bin/xdg-dbus-proxy DEBUG_FISSION:BOOL=OFF ENABLE_BUBBLEWRAP_SANDBOX:BOOL=ON ENABLE_DRAG_SUPPORT:BOOL=ON ENABLE_GAMEPAD:BOOL=ON ENABLE_GLES2:BOOL=OFF ENABLE_GTKDOC:BOOL=ON ENABLE_INTROSPECTION:BOOL=ON ENABLE_JOURNALD_LOG:BOOL=ON ENABLE_MEDIA_SOURCE:BOOL=ON ENABLE_MINIBROWSER:BOOL=ON ENABLE_QUARTZ_TARGET:BOOL=OFF ENABLE_SPELLCHECK:BOOL=ON ENABLE_TOUCH_EVENTS:BOOL=ON ENABLE_VIDEO:BOOL=ON ENABLE_WAYLAND_TARGET:BOOL=ON ENABLE_WEBDRIVER:BOOL=ON ENABLE_WEB_AUDIO:BOOL=ON ENABLE_WEB_CRYPTO:BOOL=ON ENABLE_X11_TARGET:BOOL=ON EXEC_INSTALL_DIR:PATH=/usr/bin GCC_OFFLINEASM_SOURCE_MAP:BOOL=ON GETTEXT_MSGFMT_EXECUTABLE:FILEPATH=/usr/bin/msgfmt GETTEXT_MSGMERGE_EXECUTABLE:FILEPATH=/usr/bin/msgmerge ICU_INCLUDE_DIR:PATH=/usr/include LIBEXEC_INSTALL_DIR:PATH=/usr/libexec/webkit2gtk-5.0 LIBGCRYPTCONFIG_SCRIPT:FILEPATH=/usr/bin/libgcrypt-config LIBXSLT_EXSLT_INCLUDE_DIR:PATH=/usr/include LIBXSLT_LIBRARY:FILEPATH=/usr/lib64/libxslt.so LIB_INSTALL_DIR:PATH=/usr/lib64 PORT:STRING=GTK PYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3.8 SHOULD_INSTALL_JS_SHELL:BOOL=OFF SHOW_BINDINGS_GENERATION_PROGRESS:BOOL=OFF USER_AGENT_BRANDING:STRING=G2V USE_ANGLE_WEBGL:BOOL=OFF USE_APPLE_ICU:BOOL=OFF USE_AVIF:BOOL=ON USE_GTK4:BOOL=ON USE_JPEGXL:BOOL=OFF USE_LCMS:BOOL=ON USE_LIBHYPHEN:BOOL=ON USE_LIBNOTIFY:BOOL=ON USE_LIBSECRET:BOOL=ON USE_OPENGL_OR_ES:BOOL=ON USE_OPENJPEG:BOOL=ON USE_SOUP2:BOOL=OFF USE_THIN_ARCHIVES:BOOL=ON USE_WOFF2:BOOL=ON USE_WPE_RENDERER:BOOL=ON WOFF2_INCLUDE_DIR:PATH=/usr/include WPEBACKEND_FDO_AUDIO_EXTENSION:PATH=/usr/include/wpe-fdo-1.0
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2022-05-18 05:56:06 PDT
This is likely fixed in main because gtk-doc has been removed.
Adrian Perez
Comment 2
2022-05-18 06:03:52 PDT
(In reply to Michael Catanzaro from
comment #1
)
> This is likely fixed in main because gtk-doc has been removed.
That's right, we're now using gi-docgen and we _want_ to make sure it keeps working with GTK4 builds. On the other hand, we never made any effort to make gtk-doc work when configuring the build for GTK4. Tomasz: I am afraid you will need to use -DENABLE_GTKDOC=OFF in combination with -DUSE_GTK4=ON -- sorry about the inconvenience.
Michael Catanzaro
Comment 3
2022-05-18 06:17:59 PDT
That's OK, since USE_GTK4=ON is still unstable in 2.36.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug