[Bug 284242] www/webkit2-gtk: Fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 21 Jan 2025 15:04:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284242

            Bug ID: 284242
           Summary: www/webkit2-gtk: Fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

...
FAILED:
Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/renderer/gl/VertexArrayGL.cpp.o 
/usr/local/bin/ccache /usr/local/bin/g++13 -DANGLE_ENABLE_ESSL
-DANGLE_ENABLE_GLSL -DANGLE_ENABLE_OPENGL -DANGLE_PLATFORM_LINUX
-DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1
-DEGL_EGL_PROTOTYPES=0 -DEGL_NO_PLATFORM_SPECIFIC_TYPES
-DGETTEXT_PACKAGE=\"WebKitGTK-4.0\" -DGL_GLES_PROTOTYPES=0 -DHAVE_CONFIG_H=1
-DJSC_GLIB_API_ENABLED -DLIBANGLE_IMPLEMENTATION -DPAS_BMALLOC=1
-DUSE_SYSTEM_EGL
-I/tmp/ports/usr/ports/www/webkit2-gtk/work-40/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/WebKit
-I/tmp/ports/usr/ports/www/webkit2-gtk/work-40/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/include
-I/tmp/ports/usr/ports/www/webkit2-gtk/work-40/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/include/KHR
-I/tmp/ports/usr/ports/www/webkit2-gtk/work-40/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src
-I/tmp/ports/usr/ports/www/webkit2-gtk/work-40/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/common/base
-I/tmp/ports/usr/ports/www/webkit2-gtk/work-40/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/common/third_party/xxhash
-I/tmp/ports/usr/ports/www/webkit2-gtk/work-40/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/third_party/zlib/google
-I/tmp/ports/usr/ports/www/webkit2-gtk/work-40/.build/Source/ThirdParty/ANGLE/include
-fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr
-Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds
-Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi
-Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith
-Wmissing-format-attribute -Wformat-security -Wcast-align
-Wno-tautological-compare -fasynchronous-unwind-tables -O2 -pipe -O3 -pipe
-funroll-loops -fno-delete-null-pointer-checks  -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc13 -O3 -funroll-loops
-fno-delete-null-pointer-checks  -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
-I/usr/local/include -lsysinfo -Wl,-rpath=/usr/local/lib/gcc13 -isystem
/usr/local/include 
-fdebug-prefix-map=/tmp/ports/usr/ports/www/webkit2-gtk/work-40/webkitgtk-2.46.5=.
-fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections
-fdata-sections -O2 -pipe -O3 -pipe -funroll-loops
-fno-delete-null-pointer-checks  -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc13 -O3 -funroll-loops
-fno-delete-null-pointer-checks  -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=32
-I/usr/local/include -lsysinfo -Wl,-rpath=/usr/local/lib/gcc13 -isystem
/usr/local/include 
-fdebug-prefix-map=/tmp/ports/usr/ports/www/webkit2-gtk/work-40/webkitgtk-2.46.5=.
-DNDEBUG -std=c++23 -fPIC -fvisibility=hidden -w -MD -MT
Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/renderer/gl/VertexArrayGL.cpp.o
-MF
Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/renderer/gl/VertexArrayGL.cpp.o.d
-o
Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/renderer/gl/VertexArrayGL.cpp.o
-c
/tmp/ports/usr/ports/www/webkit2-gtk/work-40/webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/VertexArrayGL.cpp
In file included from
../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/Framebuffer.h:24,
                 from
../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/Context.h:36,
                 from
../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/VertexArrayGL.h:15,
                 from
../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/VertexArrayGL.cpp:9:
../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/State.h: In member
function 'angle::Result gl::State::dirtyObjectHandler(size_t, const
gl::Context*, gl::Command)':
../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/State.h:1532:84:   in
'constexpr' expansion of 'gl::State::MakeDirtyObjectHandlers()'
../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/State.h:1521:25:
error: '(gl::State::syncActiveTextures == 0)' is not a constant expression
 1521 |             if (handler == nullptr)
      |                 ~~~~~~~~^~~~~~~~~~
../webkitgtk-2.46.5/Source/ThirdParty/ANGLE/src/libANGLE/State.h:1533:35:
error: non-constant condition for static assertion
 1533 |         static_assert(handlers[0] != nullptr, "MakeDirtyObjectHandlers
missing a handler");
...

-- 
You are receiving this mail because:
You are the assignee for the bug.