WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
210723
REGRESSION (
r260334
): SpacebarScrolling.cpp (test in TestWebKitAPI) fails to compile because it includes an Objective-C header
https://bugs.webkit.org/show_bug.cgi?id=210723
Summary
REGRESSION (r260334): SpacebarScrolling.cpp (test in TestWebKitAPI) fails to ...
Aakash Jain
Reported
2020-04-19 10:12:59 PDT
Mac build seems to be broken recently. e.g.:
https://ews-build.webkit.org/#/builders/28/builds/974/steps/10/logs/errors
CompileC /Volumes/Data/worker/Commit-Queue/build/WebKitBuild/TestWebKitAPI.build/Release/TestWebKitAPILibrary.build/Objects-normal/x86_64/SpacebarScrolling.o Tests/WebKit/SpacebarScrolling.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler cd /Volumes/Data/worker/Commit-Queue/build/Tools/TestWebKitAPI export LANG=en_US.US-ASCII In file included from /Volumes/Data/worker/Commit-Queue/build/Tools/TestWebKitAPI/Tests/WebKit/SpacebarScrolling.cpp:34: In file included from /Volumes/Data/worker/Commit-Queue/build/WebKitBuild/Release/WebKit.framework/PrivateHeaders/WKPreferencesPrivate.h:26: In file included from /Volumes/Data/worker/Commit-Queue/build/WebKitBuild/Release/WebKit.framework/Headers/WKPreferences.h:27: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:8: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:484:1: error: expected unqualified-id @class NSString, Protocol; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:495:50: error: unknown type name 'Protocol' FOUNDATION_EXPORT NSString *NSStringFromProtocol(Protocol *proto) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:496:19: error: unknown type name 'Protocol' FOUNDATION_EXPORT Protocol * _Nullable NSProtocolFromString(NSString *namestr) API_AVAILABLE(macos(10.5), ios(2.0), watchos(2.0), tvos(9.0)); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:500:53: error: format argument not an NSString FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2) NS_NO_TAIL_CALL; ~~~~~~~~~~~~~~~~ ^ ~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:84:49: note: expanded from macro 'NS_FORMAT_FUNCTION' #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A))) ^ ~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:501:63: error: format argument not an NSString FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0) NS_NO_TAIL_CALL; ~~~~~~~~~~~~~~~~ ^ ~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:84:49: note: expanded from macro 'NS_FORMAT_FUNCTION' #define NS_FORMAT_FUNCTION(F,A) __attribute__((format(__NSString__, F, A))) ^ ~ In file included from /Volumes/Data/worker/Commit-Queue/build/Tools/TestWebKitAPI/Tests/WebKit/SpacebarScrolling.cpp:34:
Attachments
Patch
(1.46 KB, patch)
2020-04-19 10:17 PDT
,
Darin Adler
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2020-04-19 10:17:51 PDT
Created
attachment 396917
[details]
Patch
Darin Adler
Comment 2
2020-04-19 10:24:14 PDT
Committed
r260336
: <
https://trac.webkit.org/changeset/260336
>
Radar WebKit Bug Importer
Comment 3
2020-04-19 10:25:13 PDT
<
rdar://problem/62023265
>
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