WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
210708
Update header postprocessing version cutoff to keep Apple internal builds working
https://bugs.webkit.org/show_bug.cgi?id=210708
Summary
Update header postprocessing version cutoff to keep Apple internal builds wor...
Darin Adler
Reported
2020-04-18 17:51:23 PDT
Update header postprocessing version cutoff to keep Apple internal builds working
Attachments
Patch
(2.20 KB, patch)
2020-04-18 17:53 PDT
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Patch
(41.23 KB, patch)
2020-04-18 19:27 PDT
,
Darin Adler
no flags
Details
Formatted Diff
Diff
Patch
(49.02 KB, patch)
2020-04-18 21:22 PDT
,
Darin Adler
beidson
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2020-04-18 17:53:09 PDT
Comment hidden (obsolete)
Created
attachment 396881
[details]
Patch
Darin Adler
Comment 2
2020-04-18 17:53:30 PDT
I won’t land this until after my local builds for macOS and iOS both complete.
Darin Adler
Comment 3
2020-04-18 19:27:45 PDT
Comment hidden (obsolete)
Created
attachment 396886
[details]
Patch
Tim Horton
Comment 4
2020-04-18 20:31:03 PDT
Comment on
attachment 396886
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=396886&action=review
> Source/WebKit/Configurations/WebKit.xcconfig:159 > +WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED[sdk=iphone*] = $(WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED$(WK_IOS_1014));
IOS_1014 is definitely not right. Humorously, neither was IOS_1013, as it previously stood.
mitz
Comment 5
2020-04-18 20:31:58 PDT
Comment on
attachment 396886
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=396886&action=review
> Source/WebKit/Configurations/WebKit.xcconfig:159 > +WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED[sdk=iphone*] = $(WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED$(WK_IOS_1014));
WK_IOS_1014 doesn’t make sense.
Darin Adler
Comment 6
2020-04-18 21:22:00 PDT
Created
attachment 396891
[details]
Patch
Darin Adler
Comment 7
2020-04-18 21:22:37 PDT
OK, now I have a version that works!
Darin Adler
Comment 8
2020-04-18 21:22:57 PDT
So different from the one that Wenson reviewed that I didn’t put his name on it.
Darin Adler
Comment 9
2020-04-18 21:23:35 PDT
Comment on
attachment 396891
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=396891&action=review
> Source/WebKit/Configurations/WebKit.xcconfig:-160 > -WK_FRAMEWORK_HEADER_POSTPROCESSING_DISABLED_IOS_BEFORE_1300 = YES;
Turns out 1300 was also not correct.
Brady Eidson
Comment 10
2020-04-18 21:28:28 PDT
Comment on
attachment 396891
[details]
Patch Wow.
Darin Adler
Comment 11
2020-04-18 21:42:07 PDT
Committed
r260334
: <
https://trac.webkit.org/changeset/260334
>
Radar WebKit Bug Importer
Comment 12
2020-04-18 21:43:13 PDT
<
rdar://problem/61997281
>
David Kilzer (:ddkilzer)
Comment 13
2020-04-19 10:19:53 PDT
This caused build failures due to the removal of #ifdef __OBJC__/#endif from Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h. Obviously that C++ source file shouldn't be including an Objective-C header, so the fix will be to do something other than revert that change to WKPreferencesPrivate.h. [...] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:221:22: note: expanded from macro 'instancetype' #define instancetype id ^ In file included from /Volumes/Data/slave/mojave-release/build/Tools/TestWebKitAPI/Tests/WebKit/SpacebarScrolling.cpp:34: In file included from /Volumes/Data/slave/mojave-release/build/WebKitBuild/Release/WebKit.framework/PrivateHeaders/WKPreferencesPrivate.h:26: In file included from /Volumes/Data/slave/mojave-release/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:10: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:32:3: note: to match this '(' - (nullable instancetype)initWithCoder:(NSCoder *)aDecoder; // NS_DESIGNATED_INITIALIZER ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:32:4: error: C++ requires a type specifier for all declarations - (nullable instancetype)initWithCoder:(NSCoder *)aDecoder; // NS_DESIGNATED_INITIALIZER ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:32:26: error: expected ';' after top level declarator - (nullable instancetype)initWithCoder:(NSCoder *)aDecoder; // NS_DESIGNATED_INITIALIZER ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:34:1: error: expected unqualified-id @end ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:44:1: error: expected unqualified-id @end ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:51:1: error: expected external declaration + (void)setVersion:(NSInteger)aVersion; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:51:4: error: expected unqualified-id + (void)setVersion:(NSInteger)aVersion; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Builds: <
https://build.webkit.org/builders/Apple%20Mojave%20Release%20(Build)?numbuilds=50
> Run: <
https://build.webkit.org/builders/Apple%20Mojave%20Release%20%28Build%29/builds/14958
> Log: <
https://build.webkit.org/builders/Apple%20Mojave%20Release%20%28Build%29/builds/14961/steps/compile-webkit/logs/stdio
> Looking now.
David Kilzer (:ddkilzer)
Comment 14
2020-04-19 10:20:57 PDT
Bug 210723
covers fixing the build failure: 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
>
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