<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>232198</bug_id>
          
          <creation_ts>2021-10-23 09:26:29 -0700</creation_ts>
          <short_desc>[GTK] REGRESSION (r270758): FreeBSD (libc++) build broken</short_desc>
          <delta_ts>2025-06-20 09:52:24 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>2khramtsov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>kkinnunen</cc>
    
    <cc>lantw44</cc>
    
    <cc>vishwin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1808083</commentid>
    <comment_count>0</comment_count>
    <who name="">2khramtsov</who>
    <bug_when>2021-10-23 09:26:29 -0700</bug_when>
    <thetext>GTK WebKit build on FreeBSD (uses libc++/clang) is regressed by:
https://github.com/WebKit/WebKit/commit/11ccaf183fad

GStreamer.cpp.o -c /wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.0/Source/WebCore/platform/graphics/gstreamer/MediaSampleGStreamer.cpp
/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.0/Source/WebCore/platform/graphics/gstreamer/MediaSampleGStreamer.cpp:220:12: error: call to implicitly-deleted copy constructor of &apos;WebCore::PlatformSample&apos;
    return sample;
           ^~~~~~

/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.0/Source/WebCore/platform/MediaSample.h:57:7: note: copy constructor of &apos;PlatformSample&apos; is implicitly deleted because field &apos;sample&apos; has a deleted copy constructor
    } sample;
      ^
/wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.0/Source/WebCore/platform/MediaSample.h:56:66: note: copy constructor of &apos;&apos; is implicitly deleted because variant field &apos;byteRangeSample&apos; has a non-trivial copy constructor
        std::pair&lt;MTPluginByteSourceRef, CMFormatDescriptionRef&gt; byteRangeSample;

1 error generated.

GCC build is also broken (results in SIGSEGV during build), so this is likely related to FreeBSD using libc++.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1881898</commentid>
    <comment_count>1</comment_count>
    <who name="">2khramtsov</who>
    <bug_when>2022-07-09 14:07:35 -0700</bug_when>
    <thetext>This is caused by std::pair ABI incompatibility in FreeBSD https://reviews.freebsd.org/D35327</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091010</commentid>
    <comment_count>2</comment_count>
    <who name="Charlie Li">vishwin</who>
    <bug_when>2025-01-31 09:29:47 -0800</bug_when>
    <thetext>This should be obviated by bug 278596, but for future reference, std::pair copy constructors are never trivial in FreeBSD due to continued use of LLVM libc++ ABI version 1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>