New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./confgiure failed on mac os 10.14 with "earlier than macOS 10.6 is no longer supported." #4284

Open
luduoduo opened this Issue Nov 4, 2018 · 19 comments

Comments

Projects
None yet
@luduoduo
Copy link

luduoduo commented Nov 4, 2018

RDM Version: git commit 8767200 (Add TLS over SSH support (#4280))

Environment (OS name and version): macos 10.14

Redis Server Version:

Steps to reproduce:

  1. .... build as official guide

  2. ... when ./configure

  3. ...

Expected result:

Actual Result:

$./configure
Warning: coreutils 8.30 is already installed and up-to-date
To reinstall 8.30, run brew reinstall coreutils
=== BUILD TARGET breakpadUtilities OF PROJECT Breakpad WITH CONFIGURATION Release ===
warning: no rule to process file '/Users/XXX/work/VoicePlatform/redis-desktop-manager/rdm/3rdparty/gbreakpad/src/common/mac/arch_utilities.h' of type sourcecode.c.h for architecture x86_64
=== BUILD TARGET crash_report_sender OF PROJECT Breakpad WITH CONFIGURATION Release ===
/* com.apple.ibtool.document.notices /
/Users/XXX/work/VoicePlatform/redis-desktop-manager/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:48: note: View is clipping its content
/Users/XXX/work/VoicePlatform/redis-desktop-manager/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:66: note: View is clipping its content
/Users/XXX/work/VoicePlatform/redis-desktop-manager/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:116: note: View is clipping its content
/
com.apple.ibtool.document.warnings /
/Users/XXX/work/VoicePlatform/redis-desktop-manager/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:global: warning: This file is set to build for a version older than the deployment target. Functionality may be limited.
/
com.apple.ibtool.document.errors */
/Users/XXX/work/VoicePlatform/redis-desktop-manager/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:global: error: Compiling for earlier than macOS 10.6 is no longer supported.
** BUILD FAILED **

@BorgLee

This comment has been minimized.

Copy link

BorgLee commented Nov 5, 2018

Me too.

@ergoz

This comment has been minimized.

Copy link

ergoz commented Nov 6, 2018

same problem

@uglide

This comment has been minimized.

Copy link
Owner

uglide commented Nov 6, 2018

I haven't found any solution to this problem yet and recommend to downgrade to XCode 9.4.1 or 10.0

@uglide uglide added bug osx labels Nov 6, 2018

@ergoz

This comment has been minimized.

Copy link

ergoz commented Nov 6, 2018

I am on Mac OS 10.14.1 (mojave) with latest xcode 10.1 (10B61). Just for info.

@ergoz

This comment has been minimized.

Copy link

ergoz commented Nov 6, 2018

downgraded to Xcode 9.4.1 and using QT Creator 5.9.7 but not all problems fixed, i think.

Downloading sources:

➜  Desktop git clone --recursive https://github.com/uglide/RedisDesktopManager.git -b 0.9 rdm && cd ./rdm
Cloning into 'rdm'...
remote: Enumerating objects: 206, done.
remote: Counting objects: 100% (206/206), done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 16914 (delta 111), reused 107 (delta 59), pack-reused 16708
Receiving objects: 100% (16914/16914), 71.95 MiB | 468.00 KiB/s, done.
Resolving deltas: 100% (10173/10173), done.
Submodule '3rdparty/asyncfuture' (https://github.com/benlau/asyncfuture.git) registered for path '3rdparty/asyncfuture'
Submodule '3rdparty/crashreporter' (https://github.com/RedisDesktop/CrashReporter.git) registered for path '3rdparty/crashreporter'
Submodule '3rdparty/gbreakpad' (https://github.com/google/breakpad.git) registered for path '3rdparty/gbreakpad'
Submodule '3rdparty/qredisclient' (https://github.com/uglide/qredisclient.git) registered for path '3rdparty/qredisclient'
Submodule '3rdparty/qt-unix-signals' (https://github.com/sijk/qt-unix-signals.git) registered for path '3rdparty/qt-unix-signals'
Cloning into '/Users/ergoz/Desktop/rdm/3rdparty/asyncfuture'...
remote: Enumerating objects: 1136, done.
remote: Total 1136 (delta 0), reused 0 (delta 0), pack-reused 1136
Receiving objects: 100% (1136/1136), 214.41 KiB | 516.00 KiB/s, done.
Resolving deltas: 100% (750/750), done.
Cloning into '/Users/ergoz/Desktop/rdm/3rdparty/crashreporter'...
remote: Enumerating objects: 230, done.
remote: Total 230 (delta 0), reused 0 (delta 0), pack-reused 230
Receiving objects: 100% (230/230), 37.91 KiB | 213.00 KiB/s, done.
Resolving deltas: 100% (126/126), done.
Cloning into '/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad'...
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 17682 (delta 2), reused 6 (delta 0), pack-reused 17668
Receiving objects: 100% (17682/17682), 39.61 MiB | 518.00 KiB/s, done.
Resolving deltas: 100% (13835/13835), done.
Cloning into '/Users/ergoz/Desktop/rdm/3rdparty/qredisclient'...
remote: Enumerating objects: 88, done.
remote: Counting objects: 100% (88/88), done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 1289 (delta 38), reused 57 (delta 24), pack-reused 1201
Receiving objects: 100% (1289/1289), 414.40 KiB | 836.00 KiB/s, done.
Resolving deltas: 100% (748/748), done.
Cloning into '/Users/ergoz/Desktop/rdm/3rdparty/qt-unix-signals'...
remote: Enumerating objects: 17, done.
remote: Total 17 (delta 0), reused 0 (delta 0), pack-reused 17
Submodule path '3rdparty/asyncfuture': checked out '4579d5386e5a95c0adeb88f7aaf9923468bd3d6b'
Submodule path '3rdparty/crashreporter': checked out '0202f9b5bc40b071e4bbcb8724cd30a2c2d219cf'
Submodule path '3rdparty/gbreakpad': checked out '9fecc95c72549452959431ddc0e4ec4e0cda8689'
Submodule path '3rdparty/qredisclient': checked out '42904d8fe83805c7c850ffaad25939106592efbd'
Submodule '3rdparty/hiredis' (https://github.com/redis/hiredis.git) registered for path '3rdparty/qredisclient/3rdparty/hiredis'
Cloning into '/Users/ergoz/Desktop/rdm/3rdparty/qredisclient/3rdparty/hiredis'...
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 2986 (delta 3), reused 11 (delta 3), pack-reused 2972
Receiving objects: 100% (2986/2986), 893.00 KiB | 542.00 KiB/s, done.
Resolving deltas: 100% (1838/1838), done.
Submodule path '3rdparty/qredisclient/3rdparty/hiredis': checked out '685030652cd98c5414ce554ff5b356dfe8437870'
Submodule path '3rdparty/qt-unix-signals': checked out 'd6a1d12053c4176d1f693fa083752004c3023bce'

Copy Info.plist and install cmake with openssl:

➜  rdm git:(0.9) cd ./src && cp ./resources/Info.plist.sample ./resources/Info.plist
➜  src git:(0.9) ✗ brew reinstall openssl cmake
==> Reinstalling openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2p.mojave.bottle.tar.gz
Already downloaded: /Users/ergoz/Library/Caches/Homebrew/downloads/fbb493745981c8b26c0fab115c76c2a70142bfde9e776c450277e9dfbbba0bb2--openssl-1.0.2p.mojave.bottle.tar.gz
==> Pouring openssl-1.0.2p.mojave.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.zshrc

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2p: 1,793 files, 12MB
==> Reinstalling cmake
==> Downloading https://homebrew.bintray.com/bottles/cmake-3.12.4.mojave.bottle.tar.gz
Already downloaded: /Users/ergoz/Library/Caches/Homebrew/downloads/c86b6a5868802d3fe4617c27df28f62b2e48d8551ded59f6ac809afc2421ae4a--cmake-3.12.4.mojave.bottle.tar.gz
==> Pouring cmake-3.12.4.mojave.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> Summary
🍺  /usr/local/Cellar/cmake/3.12.4: 2,417 files, 33.3MB
==> Caveats
==> openssl
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.zshrc

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

==> cmake
Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake

Running configure:

still have problems with BUILD TARGET breakpadUtilities OF PROJECT Breakpad WITH CONFIGURATION Release and rdparty//qredisclient/3rdparty/qsshclient: No such file or directory

➜  src git:(0.9) ✗ ./configure
Warning: coreutils 8.30 is already installed and up-to-date
To reinstall 8.30, run `brew reinstall coreutils`
=== BUILD TARGET breakpadUtilities OF PROJECT Breakpad WITH CONFIGURATION Release ===
warning: no rule to process file '/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/common/mac/arch_utilities.h' of type sourcecode.c.h for architecture x86_64
=== BUILD TARGET crash_report_sender OF PROJECT Breakpad WITH CONFIGURATION Release ===
/* com.apple.ibtool.document.notices */
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:48: note: View is clipping its content
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:66: note: View is clipping its content
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:116: note: View is clipping its content
/* com.apple.ibtool.document.warnings */
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:global: warning: This file is set to build for a version older than the deployment target. Functionality may be limited.
=== BUILD TARGET crash_report_sender OF PROJECT Breakpad WITH CONFIGURATION Release ===
warning: invalid character '_' in Bundle Identifier at column 18. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
=== BUILD TARGET crash_report_sender OF PROJECT Breakpad WITH CONFIGURATION Release ===
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:245:29: warning: 'NSAlertAlternateReturn' is
      deprecated: first deprecated in macOS 10.10 - Use NSAlertFirstButtonReturn, etc instead [-Wdeprecated-declarations]
  NSInteger buttonPressed = NSAlertAlternateReturn;
                            ^
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:30:
In file included from ../../client/mac/sender/crash_report_sender.h:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:72:5: note:
      'NSAlertAlternateReturn' has been explicitly marked deprecated here
    NSAlertAlternateReturn NS_ENUM_DEPRECATED_MAC(10_0, 10_10, "Use NSAlertFirstButtonReturn, etc instead") = 0,
    ^
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:248:33: warning: 'loadNibNamed:owner:' is
      deprecated: first deprecated in macOS 10.8 [-Wdeprecated-declarations]
    BOOL didLoadNib = [NSBundle loadNibNamed:@"Breakpad" owner:self];
                                ^
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:30:
In file included from ../../client/mac/sender/crash_report_sender.h:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:91:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSNibLoading.h:31:1: note:
      'loadNibNamed:owner:' has been explicitly marked deprecated here
+ (BOOL)loadNibNamed:(null_unspecified NSString *)nibName owner:(null_unspecified id)owner NS_DEPRECATED_MAC(10_0, 10_8); // Depre...
^
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:269:9: warning: 'NSGetAlertPanel' is deprecated:
      first deprecated in macOS 10.10 - Use NSAlert instead [-Wdeprecated-declarations]
        NSGetAlertPanel([self shortDialogMessage],
        ^
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:30:
In file included from ../../client/mac/sender/crash_report_sender.h:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:59:18: note:
      'NSGetAlertPanel' has been explicitly marked deprecated here
APPKIT_EXTERN id NSGetAlertPanel(NSString *title, NSString *msgFormat, NSString *defaultButton, NSString *alternateButton, NSStrin...
                 ^
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:280:5: warning: 'NSReleaseAlertPanel' is
      deprecated: first deprecated in macOS 10.10 - Use NSAlert instead [-Wdeprecated-declarations]
    NSReleaseAlertPanel(alert);
    ^
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:30:
In file included from ../../client/mac/sender/crash_report_sender.h:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:62:20: note:
      'NSReleaseAlertPanel' has been explicitly marked deprecated here
APPKIT_EXTERN void NSReleaseAlertPanel(id panel) NS_DEPRECATED_MAC(10_0, 10_10, "Use NSAlert instead");
                   ^
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:282:27: warning: 'NSAlertDefaultReturn' is
      deprecated: first deprecated in macOS 10.10 - Use NSAlertFirstButtonReturn, etc instead [-Wdeprecated-declarations]
  return buttonPressed == NSAlertDefaultReturn;
                          ^
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:30:
In file included from ../../client/mac/sender/crash_report_sender.h:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:71:5: note:
      'NSAlertDefaultReturn' has been explicitly marked deprecated here
    NSAlertDefaultReturn NS_ENUM_DEPRECATED_MAC(10_0, 10_10, "Use NSAlertFirstButtonReturn, etc instead") = 1,
    ^
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:385:28: warning: 'NSAlertDefaultReturn' is
      deprecated: first deprecated in macOS 10.10 - Use NSAlertFirstButtonReturn, etc instead [-Wdeprecated-declarations]
  [NSApp stopModalWithCode:NSAlertDefaultReturn];
                           ^
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:30:
In file included from ../../client/mac/sender/crash_report_sender.h:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:71:5: note:
      'NSAlertDefaultReturn' has been explicitly marked deprecated here
    NSAlertDefaultReturn NS_ENUM_DEPRECATED_MAC(10_0, 10_10, "Use NSAlertFirstButtonReturn, etc instead") = 1,
    ^
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:394:28: warning: 'NSAlertAlternateReturn' is
      deprecated: first deprecated in macOS 10.10 - Use NSAlertFirstButtonReturn, etc instead [-Wdeprecated-declarations]
  [NSApp stopModalWithCode:NSAlertAlternateReturn];
                           ^
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:30:
In file included from ../../client/mac/sender/crash_report_sender.h:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:39:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSFontPanel.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:72:5: note:
      'NSAlertAlternateReturn' has been explicitly marked deprecated here
    NSAlertAlternateReturn NS_ENUM_DEPRECATED_MAC(10_0, 10_10, "Use NSAlertFirstButtonReturn, etc instead") = 0,
    ^
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:654:18: warning:
      'NSDeviceIndependentModifierFlagsMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
    modifiers &= NSDeviceIndependentModifierFlagsMask;
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 NSEventModifierFlagDeviceIndependentFlagsMask
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:30:
In file included from ../../client/mac/sender/crash_report_sender.h:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:189:35: note:
      'NSDeviceIndependentModifierFlagsMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSDeviceIndependentModifierFlagsMask    NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagD...
                                  ^
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:655:22: warning: 'NSCommandKeyMask' is deprecated:
      first deprecated in macOS 10.12 [-Wdeprecated-declarations]
    if (modifiers == NSCommandKeyMask) {
                     ^~~~~~~~~~~~~~~~
                     NSEventModifierFlagCommand
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/crash_report_sender.m:30:
In file included from ../../client/mac/sender/crash_report_sender.h:35:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSActionCell.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:16:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:10:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:185:35: note:
      'NSCommandKeyMask' has been explicitly marked deprecated here
static const NSEventModifierFlags NSCommandKeyMask            NS_DEPRECATED_WITH_REPLACEMENT_MAC("NSEventModifierFlagCommand", 10....
                                  ^
9 warnings generated.
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/Framework/OnDemandServer.mm:92:8: warning: 'bootstrap_subset' is deprecated:
      first deprecated in macOS 10.10 [-Wdeprecated-declarations]
  kr = bootstrap_subset(bootstrap_port, self_task, &bootstrap_subset_port);
       ^
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/Framework/OnDemandServer.mm:30:
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/Framework/OnDemandServer.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/servers/bootstrap.h:61:1: note:
      'bootstrap_subset' has been explicitly marked deprecated here
bootstrap_subset(mach_port_t bp, mach_port_t requestor_port,
^
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/Framework/OnDemandServer.mm:114:8: warning: 'bootstrap_create_server' is
      deprecated: first deprecated in macOS 10.10 [-Wdeprecated-declarations]
  kr = bootstrap_create_server(bootstrap_subset_port,
       ^
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/Framework/OnDemandServer.mm:30:
In file included from /Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/Framework/OnDemandServer.h:31:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/servers/bootstrap.h:55:1: note:
      'bootstrap_create_server' has been explicitly marked deprecated here
bootstrap_create_server(mach_port_t bp, cmd_t server_cmd, uid_t server_uid,
^
2 warnings generated.
=== BUILD TARGET breakpadUtilities OF PROJECT Breakpad WITH CONFIGURATION Release ===
warning: no rule to process file '/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/common/mac/arch_utilities.h' of type sourcecode.c.h for architecture x86_64
=== BUILD TARGET crash_report_sender OF PROJECT Breakpad WITH CONFIGURATION Release ===
/* com.apple.ibtool.document.notices */
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:116: note: View is clipping its content
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:66: note: View is clipping its content
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:48: note: View is clipping its content
/* com.apple.ibtool.document.warnings */
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:global: warning: This file is set to build for a version older than the deployment target. Functionality may be limited.
=== BUILD TARGET crash_report_sender OF PROJECT Breakpad WITH CONFIGURATION Release ===
warning: invalid character '_' in Bundle Identifier at column 18. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
=== BUILD TARGET breakpadUtilities OF PROJECT Breakpad WITH CONFIGURATION Release ===
warning: no rule to process file '/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/common/mac/arch_utilities.h' of type sourcecode.c.h for architecture x86_64
=== BUILD TARGET crash_report_sender OF PROJECT Breakpad WITH CONFIGURATION Release ===
/* com.apple.ibtool.document.notices */
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:116: note: View is clipping its content
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:48: note: View is clipping its content
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:66: note: View is clipping its content
/* com.apple.ibtool.document.warnings */
/Users/ergoz/Desktop/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:global: warning: This file is set to build for a version older than the deployment target. Functionality may be limited.
=== BUILD TARGET crash_report_sender OF PROJECT Breakpad WITH CONFIGURATION Release ===
warning: invalid character '_' in Bundle Identifier at column 18. This string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
Error: openssl 1.0.2p already installed
Warning: openssl 1.0.2p is already installed and up-to-date
To reinstall 1.0.2p, run `brew reinstall openssl`
/Users/ergoz/Desktop/rdm/src/..//build/common_functions: line 22: pushd: /Users/ergoz/Desktop/rdm/src/..//3rdparty//qredisclient/3rdparty/qsshclient: No such file or directory

Result

Open ./src/rdm.pro and click on Configure project (Настроить проект in russian) button
After configuring has finished I'm clicking on Build button and after 2-3 minutes it finished with hundreds of warnings

In rdm/bin/osx/debug i have rdm binary file and obj folder. Now i can run RDM.

@uglide

This comment has been minimized.

Copy link
Owner

uglide commented Nov 7, 2018

@ergoz With 9.4.1 you still see a bunch of warnings from breakpad but it compiles just fine.

@Coody

This comment has been minimized.

Copy link

Coody commented Nov 9, 2018

hi I solved it but not this project , and my log is

/Users/ooxx/project/English.lproj/MainMenu.xib:global: error: Compiling for earlier than macOS 10.6 is no longer supported. [12]

photo

Maybe it can help.

@qwqmeow

This comment has been minimized.

Copy link

qwqmeow commented Nov 12, 2018

me too, on macOS 10.13.6 with latest xcode 10.1 .
but downgraded to Xcode 10, rdm build success.

@kevleyski

This comment has been minimized.

Copy link

kevleyski commented Nov 29, 2018

Me three (Compiling for earlier than macOS 10.6 is no longer supported) downgrading Xcode

@wl199601

This comment has been minimized.

Copy link

wl199601 commented Dec 6, 2018

me too
~/rdm/src   0.9 : ./configure Warning: coreutils 8.30 is already installed and up-to-date To reinstall 8.30, runbrew reinstall coreutils === BUILD TARGET breakpadUtilities OF PROJECT Breakpad WITH CONFIGURATION Release === warning: no rule to process file '/Users/wanglei/rdm/3rdparty/gbreakpad/src/common/mac/arch_utilities.h' of type sourcecode.c.h for architecture x86_64 === BUILD TARGET crash_report_sender OF PROJECT Breakpad WITH CONFIGURATION Release === /* com.apple.ibtool.document.notices */ /Users/wanglei/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:48: note: View is clipping its content /Users/wanglei/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:66: note: View is clipping its content /Users/wanglei/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:116: note: View is clipping its content /* com.apple.ibtool.document.warnings */ /Users/wanglei/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:global: warning: This file is set to build for a version older than the deployment target. Functionality may be limited. /* com.apple.ibtool.document.errors */ /Users/wanglei/rdm/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib:global: error: Compiling for earlier than macOS 10.6 is no longer supported. ** BUILD FAILED **

@rlaace423

This comment has been minimized.

Copy link

rlaace423 commented Dec 7, 2018

based on @Coody

Without downgrading, Just open
{project_dir}/3rdparty/gbreakpad/src/client/mac/sender/Breakpad.xib
and change "Builds for" item to bigger than 10.6.

With this method, I successfully configured and now waiting for Qt setup :)

@zy84338719

This comment has been minimized.

Copy link

zy84338719 commented Dec 10, 2018

Me too

@lifegit

This comment has been minimized.

Copy link

lifegit commented Dec 13, 2018

@rlaace423
Hello
Where is "Builds for" and what is his full name? Why didn't I find it?

@rlaace423

This comment has been minimized.

Copy link

rlaace423 commented Dec 14, 2018

@lifegit
Open xib file using Xcode, and you can find it.

@uglide uglide pinned this issue Dec 14, 2018

@onewe

This comment has been minimized.

Copy link

onewe commented Dec 18, 2018

xcode downgrade

@xuzhen8626

This comment has been minimized.

Copy link

xuzhen8626 commented Dec 19, 2018

Me too.

1 similar comment
@shepherdlazy

This comment has been minimized.

Copy link

shepherdlazy commented Dec 22, 2018

Me too.

@KaraTsing

This comment has been minimized.

Copy link

KaraTsing commented Dec 24, 2018

image
Open xib file using Xcode And modify

@rlaace423

This comment has been minimized.

Copy link

rlaace423 commented Dec 31, 2018

@KaraTsing That's what I explain exactly!! Nice capture. (Sorry for my lazyness :) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment