[Webkit-unassigned] [Bug 258451] New: [GTK] Since 2.40.x releases, build fails on FreeBSD

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 23 05:43:39 PDT 2023


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

            Bug ID: 258451
           Summary: [GTK] Since 2.40.x releases, build fails on FreeBSD
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P3
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: duchateau.olivier at gmail.com
                CC: bugs-noreply at webkitgtk.org

I try to update port of WebKitGtk on FreeBSD, and since the 2.40.0 release, each build fails (no problem with the 2.38.x releases). It is always in same stage. It is not easy to find root cause, because sources are huge.

>FAILED: Source/WebKit/CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/unified-sources/UnifiedSource-54928a2b-22.cpp.o
>
>In file included from <built-in>:1:
>In file included from /usr/ports/www/webkit2-gtk4/work/webkitgtk-2.40.2/Source/WebKit/WebKit2Prefix.h:75:
>In file included from /usr/include/c++/v1/algorithm:667:
>In file included from /usr/include/c++/v1/functional:499:
>In file included from /usr/include/c++/v1/__functional/bind.h:17:
>/usr/include/c++/v1/tuple:1596:5: error: attempt to use a deleted function
>    _VSTD::__invoke_constexpr(
>    ^
>/usr/include/c++/v1/__config:826:15: note: expanded from macro '_VSTD'
>#define _VSTD std
>              ^

Full log is available here [1] (and with clang 15 [2]).

Tested with clang 14 (this is default compiler) and clang 15. Previous maintainer activated c++20 features (but I also tested with -std=gnu++20, because with gcc this stage finished well, and -std=c++11). When unified sources are disabled (-DENABLE_UNIFIED_BUILDS=OFF), compilation fails much earlier.

Below options used:

--  ENABLE_BUBBLEWRAP_SANDBOX ..................... OFF
--  ENABLE_DOCUMENTATION                            ON
--  ENABLE_DRAG_SUPPORT ........................... ON
--  ENABLE_GAMEPAD                                  OFF
--  ENABLE_GLES2 .................................. OFF
--  ENABLE_INTROSPECTION                            ON
--  ENABLE_JOURNALD_LOG ........................... OFF
--  ENABLE_MEDIA_SOURCE                             ON
--  ENABLE_MINIBROWSER ............................ ON
--  ENABLE_PDFJS                                    ON
--  ENABLE_QUARTZ_TARGET .......................... OFF
--  ENABLE_SPELLCHECK                               ON
--  ENABLE_TOUCH_EVENTS ........................... ON
--  ENABLE_VIDEO                                    true
--  ENABLE_WAYLAND_TARGET ......................... true
--  ENABLE_WEBDRIVER                                OFF
--  ENABLE_WEB_AUDIO .............................. true
--  ENABLE_WEB_CRYPTO                               ON
--  ENABLE_X11_TARGET ............................. ON
--  USE_AVIF                                        ON
--  USE_GBM ....................................... ON
--  USE_GTK4                                        ON
--  USE_JPEGXL .................................... OFF
--  USE_LCMS                                        ON
--  USE_LIBHYPHEN ................................. ON
--  USE_LIBSECRET                                   ON
--  USE_OPENGL_OR_ES .............................. ON
--  USE_OPENJPEG                                    ON
--  USE_SOUP2 ..................................... OFF
--  USE_WOFF2                                       ON

[1] https://codeberg.org/olivierd/freebsd-ports-wip/raw/branch/master/logs/webkit2-gtk4-2.40.2.log
[2] https://codeberg.org/olivierd/freebsd-ports-wip/src/branch/master/logs/clang15-webkit2-gtk4-2.40.2.log

-- 
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/20230623/0e42a43f/attachment-0001.htm>


More information about the webkit-unassigned mailing list