Build Errors on MacOS Big Sur 11.7.4 Intel mac
I em encountering errors trying to build this on MacOS Big Sur 11.7.4 on an Intel Mac. The forum won't let me post my entire log here for some reason, so I am going to only post the partial log. Please look at it and let me know how to fix these build errors.
danran@danrans-MacBook-Pro ~/Documents/Github$ git clone https://github.com/GPGTools/GPGMail.git ──(Thu,Mar02)─┘
Cloning into 'GPGMail'...
remote: Enumerating objects: 26414, done.
remote: Total 26414 (delta 0), reused 0 (delta 0), pack-reused 26414
Receiving objects: 100% (26414/26414), 31.83 MiB | 18.71 MiB/s, done.
Resolving deltas: 100% (16602/16602), done.
danran@danrans-MacBook-Pro ~/Documents/Github$ cd GPGMail ──(Thu,Mar02)─┘
danran@danrans-MacBook-Pro ~/Documents/Github/GPGMail$ git checkout dev ──(Thu,Mar02)─┘
Already on 'dev'
Your branch is up to date with 'origin/dev'.
danran@danrans-MacBook-Pro ~/Documents/Github/GPGMail$ cd Dependencies ──(Thu,Mar02)─┘
danran@danrans-MacBook-Pro ~/Documents/Github/GPGMail/Dependencies$ git clone https://github.com/GPGTools/Libmacgpg.git ──(Thu,Mar02)─┘
Cloning into 'Libmacgpg'...
remote: Enumerating objects: 6023, done.
remote: Counting objects: 100% (154/154), done.
remote: Compressing objects: 100% (91/91), done.
remote: Total 6023 (delta 75), reused 114 (delta 45), pack-reused 5869
Receiving objects: 100% (6023/6023), 2.86 MiB | 9.74 MiB/s, done.
Resolving deltas: 100% (3881/3881), done.
danran@danrans-MacBook-Pro ~/Documents/Github/GPGMail/Dependencies$ cd .. ──(Thu,Mar02)─┘
danran@danrans-MacBook-Pro ~/Documents/Github/GPGMail$ make ──(Thu,Mar02)─┘
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project GPGMail.xcodeproj -target GPGMail build
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
objc[8579]: Class RemoteXPCPair is implemented in both /Library/Developer/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x11af2d708) and /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury (0x12de1b238). One of the two will be used. Which one is undefined.
..... log break here....
..... log continued here ....
CompileC /Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/Objects-normal/x86_64/GPGMailPreferences.o /Users/danran/Documents/GitHub/GPGMail/Source/GPGMailPreferences.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'GPGMail' from project 'GPGMail')
cd /Users/danran/Documents/GitHub/GPGMail
export LANG\=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-macos10.7 -fmessage-length\=220 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -fobjc-arc -gmodules -Wno-trigraphs -fpascal-strings -Os -flto -Werror\=implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wunreachable-code -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Warc-repeated-use-of-weak -Wno-arc-maybe-repeated-use-of-weak -Wexplicit-ownership-type -Wimplicit-retain-self -Wduplicate-method-match -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wselector -Wstrict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DOBJC_OLD_DISPATCH_PROTOTYPES\=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -iquote /Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/GPGMail-generated-files.hmap -I/Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/GPGMail-own-target-headers.hmap -I/Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/GPGMail-all-target-headers.hmap -iquote /Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/GPGMail-project-headers.hmap -I/Users/danran/Documents/GitHub/GPGMail/build/Release/include -IMailHeaders -IMailHeaders/Lion -IMailHeaders/Mavericks_10.9.5 -IMailHeaders/Yosemite_10.10.2_14C68M -IMailHeaders/Lion/Mail -IMailHeaders/Lion/Message -IMailHeaders/Mavericks_10.9.5/EmailAddressing -IMailHeaders/Mavericks_10.9.5/MailCore -IMailHeaders/Mavericks_10.9.5/MailFW -IMailHeaders/Mavericks_10.9.5/MailUI -IMailHeaders/Mavericks_10.9.5/MailUIFW -IMailHeaders/Yosemite_10.10.2_14C68M/EmailAddressing -IMailHeaders/Yosemite_10.10.2_14C68M/MailCore -IMailHeaders/Yosemite_10.10.2_14C68M/MailFW -IMailHeaders/Yosemite_10.10.2_14C68M/MailUI -IMailHeaders/Yosemite_10.10.2_14C68M/MailUIFW -I/Users/danran/Documents/GitHub/GPGMail/Dependencies/Libmacgpg/build/Release/Libmacgpg.framework/Headers -I/Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/DerivedSources-normal/x86_64 -I/Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/DerivedSources/x86_64 -I/Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/DerivedSources -Warc-repeated-use-of-weak -F/Users/danran/Documents/GitHub/GPGMail/build/Release -F/Users/danran/Documents/GitHub/GPGMail/Frameworks -F/Users/danran/Documents/GitHub/GPGMail/Dependencies/Libmacgpg/build/Release -F/Users/danran/Library/Containers/com.apple.mail/Data/Library/Frameworks -F/Users/danran/Library/Frameworks -F/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/PrivateFrameworks -include /Users/danran/Documents/GitHub/GPGMail/build/SharedPrecompiledHeaders/SharedPrecompiledHeaders/15943937404042933432/GPGMail_Prefix.pch -MMD -MT dependencies -MF /Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/Objects-normal/x86_64/GPGMailPreferences.d --serialize-diagnostics /Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/Objects-normal/x86_64/GPGMailPreferences.dia -c /Users/danran/Documents/GitHub/GPGMail/Source/GPGMailPreferences.m -o /Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/Objects-normal/x86_64/GPGMailPreferences.o
** BUILD FAILED **
The following build commands failed:
CompileC /Users/danran/Documents/GitHub/GPGMail/build/GPGMail.build/Release/GPGMail.build/Objects-normal/x86_64/HeadersEditor+GPGMail.o /Users/danran/Documents/GitHub/GPGMail/Source/HeadersEditor+GPGMail.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'GPGMail' from project 'GPGMail')
(1 failure)
make: *** [GPGMail.mailbundle] Error 65
Please help me fix this or send me to a working repository. Thanks.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Steve closed this discussion on 22 Mar, 2023 05:50 PM.
Luke Le re-opened this discussion on 22 Mar, 2023 05:54 PM
Support Staff 1 Posted by Luke Le on 22 Mar, 2023 05:54 PM
Hi,
The version on GitHub is outdated. The newest source is always to be found on our website.
For Big Sur use the GPG Mail 5 folder.
Hope that helps.
Steve closed this discussion on 26 Apr, 2023 03:57 PM.
Danrancan re-opened this discussion on 24 May, 2023 05:14 PM
2 Posted by Danrancan on 24 May, 2023 05:14 PM
You say the newest source can be found on your website but I'm on https://gpgtools.org/ and can't find anything except the binary. Could you please provide a link to the source?