WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 301099
301069
[macOS] Unable to build locally on personal machine
https://bugs.webkit.org/show_bug.cgi?id=301069
Summary
[macOS] Unable to build locally on personal machine
Ahmad Saleem
Reported
2025-10-19 19:26:56 PDT
Hi Team, I am unable to compile on my personal machine: ``` In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:6: /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/WebKitCocoa/ObscuredContentInsets.mm:346:34: error: instance method '-prefersSolidColorHardPocket' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access] 346 | EXPECT_TRUE([topScrollPocket prefersSolidColorHardPocket]); // Solid color is preferre... | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:1: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/TestWebKitAPIPrefix.h:51: /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest.h:1807:50: note: expanded from macro 'EXPECT_TRUE' 1807 | #define EXPECT_TRUE(condition) GTEST_EXPECT_TRUE(condition) | ^~~~~~~~~ /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest.h:1792:23: note: expanded from macro 'GTEST_EXPECT_TRUE' 1792 | GTEST_TEST_BOOLEAN_(condition, #condition, false, true, \ | ^~~~~~~~~ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:1: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/TestWebKitAPIPrefix.h:51: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest.h:65: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest-death-test.h:43: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/internal/gtest-death-test-internal.h:47: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest-matchers.h:49: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest-printers.h:122: /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/internal/gtest-internal.h:1493:38: note: expanded from macro 'GTEST_TEST_BOOLEAN_' 1493 | ::testing::AssertionResult(expression)) \ | ^~~~~~~~~~ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:6: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/WebKitCocoa/ObscuredContentInsets.mm:30: /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h:112:12: note: receiver is instance of class declared here 112 | @interface NSScrollPocket : NSView | ^ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:6: /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/WebKitCocoa/ObscuredContentInsets.mm:350:34: error: instance method '-prefersSolidColorHardPocket' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access] 350 | return ![topScrollPocket prefersSolidColorHardPocket]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:6: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/WebKitCocoa/ObscuredContentInsets.mm:30: /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h:112:12: note: receiver is instance of class declared here 112 | @interface NSScrollPocket : NSView | ^ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:6: /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/WebKitCocoa/ObscuredContentInsets.mm:354:34: error: instance method '-prefersSolidColorHardPocket' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access] 354 | EXPECT_TRUE([topScrollPocket prefersSolidColorHardPocket]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:1: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/TestWebKitAPIPrefix.h:51: /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest.h:1807:50: note: expanded from macro 'EXPECT_TRUE' 1807 | #define EXPECT_TRUE(condition) GTEST_EXPECT_TRUE(condition) | ^~~~~~~~~ /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest.h:1792:23: note: expanded from macro 'GTEST_EXPECT_TRUE' 1792 | GTEST_TEST_BOOLEAN_(condition, #condition, false, true, \ | ^~~~~~~~~ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:1: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/TestWebKitAPIPrefix.h:51: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest.h:65: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest-death-test.h:43: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/internal/gtest-death-test-internal.h:47: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest-matchers.h:49: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest-printers.h:122: /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/internal/gtest-internal.h:1493:38: note: expanded from macro 'GTEST_TEST_BOOLEAN_' 1493 | ::testing::AssertionResult(expression)) \ | ^~~~~~~~~~ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:6: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/WebKitCocoa/ObscuredContentInsets.mm:30: /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h:112:12: note: receiver is instance of class declared here 112 | @interface NSScrollPocket : NSView | ^ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:6: /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/WebKitCocoa/ObscuredContentInsets.mm:357:35: error: instance method '-prefersSolidColorHardPocket' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access] 357 | EXPECT_FALSE([topScrollPocket prefersSolidColorHardPocket]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:1: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/TestWebKitAPIPrefix.h:51: /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest.h:1811:52: note: expanded from macro 'EXPECT_FALSE' 1811 | #define EXPECT_FALSE(condition) GTEST_EXPECT_FALSE(condition) | ^~~~~~~~~ /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest.h:1795:25: note: expanded from macro 'GTEST_EXPECT_FALSE' 1795 | GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \ | ^~~~~~~~~ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:1: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/TestWebKitAPIPrefix.h:51: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest.h:65: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest-death-test.h:43: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/internal/gtest-death-test-internal.h:47: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest-matchers.h:49: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/gtest-printers.h:122: /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/usr/local/include/gtest/internal/gtest-internal.h:1493:38: note: expanded from macro 'GTEST_TEST_BOOLEAN_' 1493 | ::testing::AssertionResult(expression)) \ | ^~~~~~~~~~ In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource20-nonARC.mm:6: In file included from /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/WebKitCocoa/ObscuredContentInsets.mm:30: /Users/ahmadsaleem/Documents/GitHub/WebKit/Tools/TestWebKitAPI/Tests/TestWebKitAPI/mac/AppKitSPI.h:112:12: note: receiver is instance of class declared here 112 | @interface NSScrollPocket : NSView | ^ 4 errors generated. ``` Xcode downloaded from Apple Store (26.0.1), I also deleted `WebKitBuild` content + cached content but it is still happening. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Jonathan Bedard
Comment 1
2025-10-20 09:38:36 PDT
*** This bug has been marked as a duplicate of
bug 301099
***
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