Bug 263023 - Build issue on ToT (using Xcode 15, macOS 14)
Summary: Build issue on ToT (using Xcode 15, macOS 14)
Status: RESOLVED DUPLICATE of bug 263020
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-11 10:04 PDT by Ahmad Saleem
Modified: 2023-10-11 10:04 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-10-11 10:04:28 PDT
Hi Team,

Based on Slack 1-1, I am getting following error while using 'build-webkit --release' using Xcode 15 on macOS 14.

In file included from /Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource22-mm.mm:3:
/Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/Tools/TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm:47:1: error: 
      unused function 'nw_proxy_config_create_http_connectPtr'
      [-Werror,-Wunused-function]
SOFT_LINK_OPTIONAL(libnetwork, nw_proxy_config_create_http_connect, nw_proxy_...
^
In file included from /Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource22-mm.mm:3:
In file included from /Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/Tools/TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm:40:
In file included from /Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/WebKitBuild/Release/usr/local/include/wtf/SoftLinking.h:28:
/Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/WebKitBuild/Release/usr/local/include/wtf/cocoa/SoftLinking.h:194:34: note: 
      expanded from macro 'SOFT_LINK_OPTIONAL'
    static functionName##PtrType functionName##Ptr() \
                                 ^
<scratch space>:8:1: note: expanded from here
nw_proxy_config_create_http_connectPtr
^
In file included from /Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource22-mm.mm:3:
/Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/Tools/TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm:48:1: error: 
      unused function 'nw_proxy_config_create_socksv5Ptr' [-Werror,-Wunused-function]
SOFT_LINK_OPTIONAL(libnetwork, nw_proxy_config_create_socksv5, nw_proxy_confi...
^
In file included from /Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/WebKitBuild/Release/DerivedSources/TestWebKitAPI/unified-sources/UnifiedSource22-mm.mm:3:
In file included from /Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/Tools/TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm:40:
In file included from /Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/WebKitBuild/Release/usr/local/include/wtf/SoftLinking.h:28:
/Users/ahmadsaleem/Documents/GitHub-Webkit-origin/Webkit/WebKitBuild/Release/usr/local/include/wtf/cocoa/SoftLinking.h:194:34: note: 
      expanded from macro 'SOFT_LINK_OPTIONAL'
    static functionName##PtrType functionName##Ptr() \
                                 ^
<scratch space>:15:1: note: expanded from here
nw_proxy_config_create_socksv5Ptr
^
2 errors generated.

____

Just raising based on suggestion from Sam.
Comment 1 Ahmad Saleem 2023-10-11 10:04:54 PDT

*** This bug has been marked as a duplicate of bug 263020 ***