WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
218566
JSC build fails on Big Sur 11.0.1 beta
https://bugs.webkit.org/show_bug.cgi?id=218566
Summary
JSC build fails on Big Sur 11.0.1 beta
Sergey Rubanov
Reported
2020-11-04 07:41:49 PST
On macOS 11 Big Sur /usr/lib/*.dylib files do not exist. That causes "Tools/Scripts/build-jsc --jsc-only" to fail (it needs /usr/lib/libicucore.dylib).
> New in macOS Big Sur 11.0.1 beta, the system ships with a built-in dynamic linker cache of all system-provided libraries. As part of this change, copies of dynamic libraries are no longer present on the filesystem. Code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail. Instead, check for library presence by attempting to dlopen() the path, which will correctly check for the library in the cache. (62986286)
https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-beta-release-notes
Attachments
Patch
(1.93 KB, patch)
2020-11-04 07:47 PST
,
Sergey Rubanov
no flags
Details
Formatted Diff
Diff
Patch
(1.42 KB, patch)
2020-11-04 11:10 PST
,
Sergey Rubanov
no flags
Details
Formatted Diff
Diff
Patch
(1.39 KB, patch)
2020-11-04 11:28 PST
,
Sergey Rubanov
no flags
Details
Formatted Diff
Diff
Patch for landing
(1.39 KB, patch)
2020-11-04 16:57 PST
,
Sergey Rubanov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Sergey Rubanov
Comment 1
2020-11-04 07:47:13 PST
Created
attachment 413161
[details]
Patch
David Kilzer (:ddkilzer)
Comment 2
2020-11-04 10:47:51 PST
Comment on
attachment 413161
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=413161&action=review
r- for the cmake minimum version change.
> CMakeLists.txt:9 > -cmake_minimum_required(VERSION 3.10) > +cmake_minimum_required(VERSION 3.18)
Is this needed to use the find_library() function? I only have 3.17.x installed on my macOS 10.15.6 system, so I think this would break (Apple) folks using CMake on macOS.
Sergey Rubanov
Comment 3
2020-11-04 11:05:20 PST
Oh, actually cmake minimum required version update is not required, I misunderstood this issue at first
https://gitlab.kitware.com/cmake/cmake/-/issues/21007
and forgot to remove this change in CMakeLists
Sergey Rubanov
Comment 4
2020-11-04 11:10:10 PST
Created
attachment 413183
[details]
Patch
David Kilzer (:ddkilzer)
Comment 5
2020-11-04 11:21:54 PST
Comment on
attachment 413183
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=413183&action=review
r=me
> Source/cmake/WebKitFindPackage.cmake:94 > + # Apple just has a single tbd for ICU
Nit: Add period at the end of the comment. (Not necessary to land, but you might want to make this change while fixing the ChangeLog.)
> ChangeLog:8 > + * CMakeLists.txt:
Nit: Remove this line as this file is no longer changed.
Sergey Rubanov
Comment 6
2020-11-04 11:28:45 PST
Created
attachment 413190
[details]
Patch
David Kilzer (:ddkilzer)
Comment 7
2020-11-04 15:06:49 PST
(In reply to Sergey Rubanov from
comment #6
)
> Created
attachment 413190
[details]
> Patch
Can you set cq+, or do I need to do it? (I didn't want to set it if you had planned to later.)
Sergey Rubanov
Comment 8
2020-11-04 15:27:11 PST
(In reply to David Kilzer (:ddkilzer) from
comment #7
)
> (In reply to Sergey Rubanov from
comment #6
) > > Created
attachment 413190
[details]
> > Patch > > Can you set cq+, or do I need to do it? (I didn't want to set it if you had > planned to later.)
Sorry, I'm new here and this is my first patch =) What is cq+ or where can I read about that?
Sergey Rubanov
Comment 9
2020-11-04 16:57:32 PST
Created
attachment 413227
[details]
Patch for landing
EWS
Comment 10
2020-11-04 17:41:04 PST
Committed
r269410
: <
https://trac.webkit.org/changeset/269410
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 413227
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug