Bug 70596 - [Qt] WebKit build does not respect QMAKE_MAC_SDK variable.
Summary: [Qt] WebKit build does not respect QMAKE_MAC_SDK variable.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zeno Albisser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 04:17 PDT by Zeno Albisser
Modified: 2011-10-21 10:55 PDT (History)
2 users (show)

See Also:


Attachments
patch for review. (2.08 KB, patch)
2011-10-21 05:02 PDT, Zeno Albisser
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zeno Albisser 2011-10-21 04:17:04 PDT
This can cause a linking error when building with an Mac SDK that is not of the same version as the host system.

Undefined symbols for architecture x86_64:
  "_kCFWebServicesTypeWebSearch", referenced from:
      _WKCopyDefaultSearchProviderDisplayName in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "__CFWebServicesCopyProviderInfo", referenced from:
      _WKCopyDefaultSearchProviderDisplayName in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_kCFWebServicesProviderDefaultDisplayNameKey", referenced from:
      _WKCopyDefaultSearchProviderDisplayName in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "__NSRecommendedScrollerStyle", referenced from:
      _WKRecommendedScrollerStyle in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_strndup", referenced from:
      _WKSandboxExtensionCreateFromSerializedFormat in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_sandbox_release_fs_extension", referenced from:
      _WKSandboxExtensionInvalidate in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_sandbox_consume_fs_extension", referenced from:
      _WKSandboxExtensionConsume in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_sandbox_issue_fs_extension", referenced from:
      _WKSandboxExtensionCreate in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_CFURLRequestSetRequestPriority", referenced from:
      _WKSetHTTPPipeliningPriority in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_CFURLRequestGetRequestPriority", referenced from:
      _WKGetHTTPPipeliningPriority in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_CTTypesetterCreateWithUniCharProviderAndOptions", referenced from:
      _WKCreateCTTypesetterWithUniCharProviderAndOptions in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_CGIOSurfaceContextCreateImage", referenced from:
      _WKIOSurfaceContextCreateImage in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_CGIOSurfaceContextCreate", referenced from:
      _WKIOSurfaceContextCreate in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_kMDItemDownloadedDate", referenced from:
      _WKSetMetadataURL in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
  "_SecTrustGetTrustResult", referenced from:
      _WKCopyNSURLResponseCertificateChain in libWebKitSystemInterfaceLion.a(WebKitSystemInterface.o)
ld: symbol(s) not found for architecture x86_64
Comment 1 Zeno Albisser 2011-10-21 05:02:36 PDT
Created attachment 111945 [details]
patch for review.
Comment 2 Noam Rosenthal 2011-10-21 08:04:25 PDT
Comment on attachment 111945 [details]
patch for review.

Can a user have several SDKs in his developer folder?
In that case we would compile with version 9 instead of version 11... maybe we should keep the original reverse order?
Comment 3 Tor Arne Vestbø 2011-10-21 08:44:24 PDT
(In reply to comment #2)
> (From update of attachment 111945 [details])
> Can a user have several SDKs in his developer folder?
> In that case we would compile with version 9 instead of version 11... maybe we should keep the original reverse order?

Hmm, not sure I get what you mean? You would set QMAKE_MAC_SDK only if you wanted a specific SDK? Otherwise we use the platform?
Comment 4 Tor Arne Vestbø 2011-10-21 08:44:42 PDT
Noam?
Comment 5 Noam Rosenthal 2011-10-21 09:13:06 PDT
(In reply to comment #4)
> Noam?

(In reply to comment #3)
> (In reply to comment #2)
> > (From update of attachment 111945 [details] [details])
> > Can a user have several SDKs in his developer folder?
> > In that case we would compile with version 9 instead of version 11... maybe we should keep the original reverse order?
> 
> Hmm, not sure I get what you mean? You would set QMAKE_MAC_SDK only if you wanted a specific SDK? Otherwise we use the platform?

Sorry, misunderstanding. Please ignore.
Comment 6 WebKit Review Bot 2011-10-21 10:54:57 PDT
Comment on attachment 111945 [details]
patch for review.

Clearing flags on attachment: 111945

Committed r98114: <http://trac.webkit.org/changeset/98114>
Comment 7 WebKit Review Bot 2011-10-21 10:55:01 PDT
All reviewed patches have been landed.  Closing bug.