[depends] Qt build broken with latest Xcode #11461

issue fanquake openend this issue on October 7, 2017
  1. fanquake commented at 6:08 am on October 7, 2017: member

    Building Qt in depends is broken on macOS (10.12.6) with the latest Xcode.

     0compiling main.mm
     1compiling qcocoahelpers.mm
     2qcocoahelpers.mm:658:39: error: use of undeclared identifier 'InvalidContext'
     3    require_action(inContext != NULL, InvalidContext, err = paramErr);
     4                                      ^
     5qcocoahelpers.mm:659:38: error: use of undeclared identifier 'InvalidBounds'
     6    require_action(inBounds != NULL, InvalidBounds, err = paramErr);
     7                                     ^
     8qcocoahelpers.mm:660:37: error: use of undeclared identifier 'InvalidImage'
     9    require_action(inImage != NULL, InvalidImage, err = paramErr);
    10                                    ^
    11qcocoahelpers.mm:702:20: warning: 'OpenDefaultComponent' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
    12    theComponent = OpenDefaultComponent(kOSAComponentType, typeAppleScript);
    13                   ^
    14/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:1004:1: note: 
    15      'OpenDefaultComponent' has been explicitly marked deprecated here
    16OpenDefaultComponent(
    17^
    18qcocoahelpers.mm:736:9: warning: 'CloseComponent' is deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
    19        CloseComponent(theComponent);
    20        ^
    21/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:593:1: note: 
    22      'CloseComponent' has been explicitly marked deprecated here
    23CloseComponent(ComponentInstance aComponentInstance)          __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_8, __IPHONE_NA, __IPHONE_NA);
    24^
    252 warnings and 3 errors generated.
    26make[4]: *** [.obj/qcocoahelpers.o] Error 1
    

    Upstream issues here: 5.6 branch 5.9 branch

  2. fanquake added the label Build system on Oct 7, 2017
  3. fanquake added the label MacOSX on Oct 7, 2017
  4. jonasschnelli referenced this in commit e022463a4b on Oct 9, 2017
  5. theuni commented at 7:50 pm on October 9, 2017: member
    Thanks. We need to bump our sdk, clang, and qt. I suspect this will be resolved in the process.
  6. Empact commented at 2:17 am on December 18, 2017: member
    @fanquake can you check on this? Looks fixed to me.
  7. Sjors commented at 4:34 pm on February 24, 2018: member
    Getting the same errors as @fanquake on macOS 10.13.3 per current master
  8. smyers119 commented at 2:54 am on March 3, 2018: none
    Same error’s here, 10.13.3 current master.
  9. fanquake commented at 4:05 am on March 3, 2018: member
    @Empact @Sjors @headhunter911 If any of you would like to review the patches in #11995, we can get that merged to fix this issue.
  10. laanwj closed this on Mar 5, 2018

  11. laanwj referenced this in commit 9a75902c56 on Mar 5, 2018
  12. PastaPastaPasta referenced this in commit 69b1718805 on Jan 31, 2020
  13. PastaPastaPasta referenced this in commit 61b061c1bb on Jan 31, 2020
  14. PastaPastaPasta referenced this in commit 836c602b0d on Feb 4, 2020
  15. PastaPastaPasta referenced this in commit a592123640 on Feb 9, 2020
  16. CryptoCentric referenced this in commit eb30d5851f on Feb 16, 2020
  17. PastaPastaPasta referenced this in commit ad7de75776 on Mar 14, 2020
  18. PastaPastaPasta referenced this in commit 668f04590d on Mar 14, 2020
  19. PastaPastaPasta referenced this in commit b158839595 on Mar 19, 2020
  20. PastaPastaPasta referenced this in commit d8520cac50 on Mar 28, 2020
  21. PastaPastaPasta referenced this in commit b248a3f2e2 on Mar 29, 2020
  22. ckti referenced this in commit 27d48f1df1 on Mar 28, 2021
  23. CryptoCentric referenced this in commit 8bc492d267 on Apr 6, 2021
  24. CryptoCentric referenced this in commit c4e6478d36 on Jul 2, 2021
  25. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 18:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me