[Bug 284378] www/webkit2-gtk: interactions with C++ dependencies built with clang/libc++ causes WebProcess crash

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Jan 2025 13:30:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284378

--- Comment #14 from Nuno Teixeira <eduardo@FreeBSD.org> ---
(In reply to shamaz.mazum from comment #13)

In file included from
/wrkdirs/usr/ports/www/webkit2-gtk/work-41/.build/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-53.cpp:4:
/wrkdirs/usr/ports/www/webkit2-gtk/work-41/webkitgtk-2.46.5/Source/WebCore/platform/graphics/gstreamer/MediaSampleGStreamer.cpp:128:12:
error: call to implicitly-deleted copy constructor of 'PlatformSample'
  128 |     return sample;
      |            ^~~~~~
/wrkdirs/usr/ports/www/webkit2-gtk/work-41/webkitgtk-2.46.5/Source/WebCore/platform/MediaSample.h:67:7:
note: copy constructor of 'PlatformSample' is implicitly deleted because field
'sample' has a deleted copy constructor
   67 |     } sample;
      |       ^
/wrkdirs/usr/ports/www/webkit2-gtk/work-41/webkitgtk-2.46.5/Source/WebCore/platform/MediaSample.h:66:83:
note: copy constructor of '(unnamed union at
/wrkdirs/usr/ports/www/webkit2-gtk/work-41/webkitgtk-2.46.5/Source/WebCore/platform/MediaSample.h:62:5)'
is implicitly deleted because variant field 'byteRangeSample' has a non-trivial
copy constructor
   66 |         std::pair<MTPluginByteSourceRef, std::reference_wrapper<const
TrackInfo>> byteRangeSample;
      |                                                                        
          ^
1 error generated.

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