[Webkit-unassigned] [Bug 223680] New: [BigSur] CMake build cannot link to cached dylib

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 24 01:52:21 PDT 2021


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

            Bug ID: 223680
           Summary: [BigSur] CMake build cannot link to cached dylib
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Mac (Intel)
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CMake
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at lecris.me

I am trying to port webkit-gtk to homebrew, but I am running into a roadblock with one of the packages used (probably `WTF`'s link to `ICU`). The exact error is:
```
make[3]: *** No rule to make target `/usr/lib/libicucore.dylib', needed by `bin/LLIntSettingsExtractor'.  Stop.
make[2]: *** [Source/JavaScriptCore/CMakeFiles/LLIntSettingsExtractor.dir/all] Error 2
```

In BigSur, Mac has switched to using cached dylib so there is no `/usr/lib/libicucore.dylib`, instead `.tbd` is used. From what I've read with CMake >3.19 these libraries are picked up correctly, however this doesn't seem to be the case in this project. A new target `/usr/lib/libicucore.dylib` is generated after the config stage, but I am not able to track down to why and how it is generated. Could anyone help point me to the appropriate section, and if possible to a resolution to this issue?

-- 
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/20210324/4ca4af21/attachment.htm>


More information about the webkit-unassigned mailing list