<?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>243868</bug_id>
          
          <creation_ts>2022-08-11 20:41:58 -0700</creation_ts>
          <short_desc>[WPE] Cannot build with USE_SYSTEM_MALLOC enabled</short_desc>
          <delta_ts>2022-08-15 23:53:13 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=243978</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Diego Pino">dpino</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1890799</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2022-08-11 20:41:58 -0700</bug_when>
    <thetext>Command:

```
$ ./Tools/Script/build-webkit --release --wpe --cmakeargs=-DUSE_SYSTEM_MALLOC=ON
```

Error:

```
CMake Error at Source/cmake/WebKitMacros.cmake:129 (add_executable):
  Target &quot;TestJSC&quot; links to target &quot;WebKit::bmalloc&quot; but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  Tools/TestWebKitAPI/PlatformWPE.cmake:126 (WEBKIT_EXECUTABLE_DECLARE)
  Source/cmake/WebKitMacros.cmake:71 (include)
  Tools/TestWebKitAPI/CMakeLists.txt:406 (WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS)
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890801</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2022-08-11 20:55:05 -0700</bug_when>
    <thetext>Pull request: https://github.com/webkit/webkit/pull/3257</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890846</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-08-12 03:36:33 -0700</bug_when>
    <thetext>Committed 253375@main (2999a68ccc3b): &lt;https://commits.webkit.org/253375@main&gt;

Reviewed commits have been landed. Closing PR #3257 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890847</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-12 03:37:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/98559834&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>