Hi,
There seems to be a problem with the gnutls-cli detection on a mac. When i try to build i get these errors:
~/.emacs.d (master) make install
Contacting host: elpa.gnu.org:443
Failed to download ‘gnu’ archive.
Contacting host: melpa.org:443
Package refresh done
Failed to download ‘melpa’ archive.
Eager macro-expansion failure: (error "Package ‘persistent-soft-’ is unavailable")
Contacting host: elpa.gnu.org:443
Failed to download ‘gnu’ archive.
Contacting host: melpa.org:443
Package refresh done
Failed to download ‘melpa’ archive.
Package ‘persistent-soft-’ is unavailable
make: *** [.local/autoloads.el] Error 255
Running in debug:
Debugger entered--Lisp error: (error "Certificate validation failed elpa.gnu.org, verification code 142")
signal(error ("Certificate validation failed elpa.gnu.org, verification code 142"))
package--download-one-archive(("gnu" . "https://elpa.gnu.org/packages/") "archive-contents" nil)
package--download-and-read-archives(nil)
package-refresh-contents()
Running doctor, seems to indicate i don't have gnutls installed, however it is.
~/.emacs.d (master) make doctor
DOOM Doctor
Running Emacs v25.2.1
Compiled with:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
Darwin ixxxxxx 16.5.0 Darwin Kernel Version 16.5.0: Fri
Mar 3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64
i386 MacBookAir6,2 Darwin
----
Warning: couldn’t find gnutls-cli, and OpenSSL is out-of-date (v0.9.8zh)
This may not affect your Emacs experience, but there are security
vulnerabilities in the SSL2/3 & TLS1.0 protocols. You should use TLS
1.1+, which wasn’t introduced until OpenSSL v1.0.1.
Please considering updating (or installing gnutls-cli, which is
preferred).
----
There were issues!
Hopefully these can help you find problems. If not, run this doctor again with DEBUG=1:
DEBUG=1 make doctor
And file a bug report with its output at https://github.com/hlissner/.emacs.d/issues
Gnutls is however installed:
~/.emacs.d (master) which gnutls-cli
/usr/local/bin/gnutls-cli
and
~/.emacs.d (master) gnutls-cli --version
gnutls-cli 3.5.12
Copyright (C) 2000-2017 Free Software Foundation, and others, all rights reserved.
This is free software. It is licensed for use, modification and
redistribution under the terms of the GNU General Public License,
version 3 or later <http://gnu.org/licenses/gpl.html>
Any idea why this is happening?
For the doctor issue: that's a bug. I've pushed a fix.
For the verification issue: I've heard of this happening on MacOS Sierra. I've been unable to reproduce it on my macs (but they're both locked to 10.11, so this may be a Sierra issue).
Try this on the command line:
gnutls-cli -p 443 elpa.gnu.org
You can C-c once you see - SImple Client Mode:. You're looking for - Status: The certificate is trusted.
Seems to work from the command line:
/.emacs.d ((aa78bd7...)) gnutls-cli -p 443 elpa.gnu.org
|<1>| There was a non-CA certificate in the trusted list: O=Entrust.net,OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.),OU=(c) 1999 Entrust.net Limited,CN=Entrust.net Certification Authority (2048).
Processed 169 CA certificate(s).
Resolving 'elpa.gnu.org:443'...
Connecting to '208.118.235.89:443'...
- Certificate type: X.509
- Got a certificate list of 3 certificates.
- Certificate[0] info:
- subject `CN=elpa.gnu.org', issuer `CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US', serial 0x03690d0724711a25a224b5dac57704058294, RSA key 2048 bits, signed using RSA-SHA256, activated `2017-03-09 17:32:00 UTC', expires `2017-06-07 17:32:00 UTC', pin-sha256="tNWf2LJJsPYBR5RMS1oeqDjJdTc3ttC/RNxHwJsvMWg="
Public Key ID:
sha1:80c76f6c86a8213fcab8fd512ab2bb9b3499054e
sha256:b4d59fd8b249b0f60147944c4b5a1ea838c9753737b6d0bf44dc47c09b2f3168
Public Key PIN:
pin-sha256:tNWf2LJJsPYBR5RMS1oeqDjJdTc3ttC/RNxHwJsvMWg=
Public key's random art:
+--[ RSA 2048]----+
| |
| o |
| E . + |
|o . o = |
|..... o S |
| o+o o + |
|.== o |
|+*.o . |
|X*... |
+-----------------+
- Certificate[1] info:
- subject `CN=elpa.gnu.org', issuer `CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US', serial 0x03690d0724711a25a224b5dac57704058294, RSA key 2048 bits, signed using RSA-SHA256, activated `2017-03-09 17:32:00 UTC', expires `2017-06-07 17:32:00 UTC', pin-sha256="tNWf2LJJsPYBR5RMS1oeqDjJdTc3ttC/RNxHwJsvMWg="
- Certificate[2] info:
- subject `CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US', issuer `CN=DST Root CA X3,O=Digital Signature Trust Co.', serial 0x0a0141420000015385736a0b85eca708, RSA key 2048 bits, signed using RSA-SHA256, activated `2016-03-17 16:40:46 UTC', expires `2021-03-17 16:40:46 UTC', pin-sha256="YLh1dUR9y6Kja30RrAn7JKnbQG/uEtLMkBgFF2Fuihg="
- Status: The certificate is trusted.
I just added a new gnutls/openssl test to make doctor (that tests elpa.gnu.org and melpa.org). Could you run it again and see if it produces anything? If it does, you may need DEBUG=1 make doctor to get more information from it.
I've just run make doctor and this is the result:
````
DOOM Doctor
Running Emacs v25.2.1
Compiled with:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
Darwin laptop.local 15.6.0 Darwin Kernel Version 15.6.0: Fri
Feb 17 10:21:18 PST 2017; root:xnu-3248.60.11.4.1~1/RELEASE_X86_64
x86_64
Rejected https://elpa.gnu.org/packages/archive-contents
(error "Certificate validation failed elpa.gnu.org, verification code
142")
Rejected https://melpa.org/packages/archive-contents
(error "Certificate validation failed melpa.org, verification code
142")
There were issues!
Curious if you installed from homebrew with the gnutls option?
Sent from my iPhone
On May 26, 2017, at 7:44 AM, Natxo Cabré notifications@github.com wrote:
I've just run make doctor and this is the result:
Running Emacs v25.2.1
Compiled with:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
Darwin laptop.local 15.6.0 Darwin Kernel Version 15.6.0: Fri
Feb 17 10:21:18 PST 2017; root:xnu-3248.60.11.4.1~1/RELEASE_X86_64
x86_64
Rejected https://elpa.gnu.org/packages/archive-contents
(error "Certificate validation failed elpa.gnu.org, verification code
142")Rejected https://melpa.org/packages/archive-contents
(error "Certificate validation failed melpa.org, verification code
142")
There were issues!
```
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
@ksexton I'd assume so; the GNUTLS flag under Compiled with suggests gnutls support is present.
@keoko After some more research, it seems gnutls has trouble finding the trust certificates on MacOS since it's in the Keychain, so I changed it to rely on gnutls-cli's default trust store. Could you try make doctor once more? If it doesn't spew out any warnings, the issue should be solved.
~/.emacs.d (master) DEBUG=1 make doctor
DOOM Doctor
Running Emacs v25.2.1
Compiled with:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
Darwin hostname.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar 3
16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64 i386
MacBookAir6,2 Darwin
----
Rejected https://elpa.gnu.org/packages/archive-contents
(error "Certificate validation failed elpa.gnu.org, verification code
142")
Rejected https://melpa.org/packages/archive-contents
(error "Certificate validation failed melpa.org, verification code
142")
Rejected https://self-signed.badssl.com (a good thing!)
(error "Certificate validation failed self-signed.badssl.com,
verification code 142")
Rejected https://wrong.host.badssl.com/ (a good thing!)
(error "Certificate validation failed wrong.host.badssl.com,
verification code 142")
====
Have some debug information:
+ Attempt to load DOOM: failed
(Cannot open load file No such file or directory quelpa)
+ byte-compiled files:
n/a
+ exec-path:
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/user/Documents/_workspace/godev/bin
/Users/user/Documents/_workspace/godev/bin
/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9
/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_9
/Applications/Emacs.app/Contents/MacOS/libexec
/Applications/Emacs.app/Contents/MacOS/bin
+ PATH:
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/user/Documents/_workspace/godev/bin
/Users/user/Documents/_workspace/godev/bin
/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9
/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_9
----
There were issues!
Seems to be a problem with the certificates, maybe the chain is not trusted here. I'll look this up and see if i can find anything.
Seems the problem is with the emacs i was using - https://github.com/caldwell/build-emacs/issues/60.
.emacs.d git:(master) DEBUG=1 make doctor
DOOM Doctor
Running Emacs v25.2.1
Compiled with:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
Darwin laptop.local 15.6.0 Darwin Kernel Version 15.6.0: Fri
Feb 17 10:21:18 PST 2017; root:xnu-3248.60.11.4.1~1/RELEASE_X86_64
x86_64
----
Rejected https://elpa.gnu.org/packages/archive-contents
(error "Certificate validation failed elpa.gnu.org, verification code
142")
Rejected https://melpa.org/packages/archive-contents
(error "Certificate validation failed melpa.org, verification code
142")
Rejected https://self-signed.badssl.com (a good thing!)
(error "Certificate validation failed self-signed.badssl.com,
verification code 142")
Rejected https://wrong.host.badssl.com/ (a good thing!)
(error "Certificate validation failed wrong.host.badssl.com,
verification code 142")
====
Have some debug information:
+ Attempt to load DOOM: success! Loaded v2.0.2
Revision fe8f0ab0b98a2a2b6f5826923a3c807bd9077bf6
+ enabled modules:
+evil +jump +snippets
+file-templates +spellcheck +syntax-checker
+version-control +workspaces +eval
+debug +company +ivy
+doom +doom-dashboard +doom-modeline
+doom-quit +hl-todo +dired
+electric-indent +eshell +gist
+macos +rotate-text +term
+tmux +upload +assembly
+cc +crystal +csharp
+data +elixir +elm
+emacs-lisp +go +haskell
+java +javascript +julia
+latex +lua +markdown
+org +php +purescript
+python +rest +ruby
+rust +scala +sh
+swift +typescript +web
+email +present +rss
+twitter +write +hlissner
+ enabled packages:
ac-alchemist-20150907.2356 ace-link-20170319.553
ace-window-20170421.428 alchemist-20170402.2339
all-the-icons-20170516.158 all-the-icons-20170516.158
nil nil
async-20170502.2343 nil
auto-compile-20170130.1017 auto-yasnippet-20160925.225
avy-20170411.608 centered-window-mode-20170522.2358
nil nil
command-log-mode-20160412.2147 company-20170517.1436
nil nil
company-dict-20160528.53 nil
nil nil
nil nil
nil company-php-20170314.2141
company-quickhelp-20170429.1052 nil
company-restclient-20151202.401 company-shell-20170517.2241
nil company-statistics-20170210.1133
nil company-web-20160502.658
counsel-20170518.1425 counsel-css-20170305.247
counsel-projectile-20170216.1426 nil
nil nil
nil nil
dired-k-20170313.803 nil
dockerfile-mode-20170418.1024 doom-themes-20170519.759
dumb-jump-20170520.112 editorconfig-20170518.817
eldoc-eval-20150512.506 nil
nil elixir-mode-20170102.942
elm-mode-20170525.1512 emmet-mode-20161113.2158
nil evil-20170521.1211
evil-anzu-20170123.2318 evil-args-20140329.1429
evil-commentary-20170413.751 evil-easymotion-20170110.2004
evil-embrace-20160519.1129 evil-escape-20170115.1343
evil-exchange-20170510.1959 evil-indent-plus-20151109.1106
evil-magit-20161130.847 evil-matchit-20170119.125
evil-mc-20170523.1902 evil-numbers-20140606.551
evil-snipe-20170405.1644 evil-surround-20170124.1110
evil-textobj-anyblock-20161020.1112 evil-vimish-fold-20161103.333
evil-visualstar-20160222.1648 exec-path-from-shell-20170508.4
expand-region-20170514.1309 f-20170404.1039
flycheck-20170524.1742 flycheck-elm-20160717.257
nil flycheck-pos-tip-20170504.1504
nil flyspell-correct-20170213.700
flyspell-correct-ivy-20161031.1134 gist-20161127.855
git-gutter-fringe-20170112.2133 git-link-20170504.1834
git-timemachine-20170325.220 gitconfig-mode-20160710.1913
gitignore-mode-20160319.302 nil
nil nil
nil nil
goto-last-change-20150109.1023 nil
gxref-20170411.1053 haml-mode-20170208.28
nil nil
help-fns+-20170223.733 highlight-indentation-20170502.43
highlight-numbers-20160717.1228 highlight-quoted-20140916.1122
hl-todo-20161102.1337 htmlize-20161211.1019
imenu-anywhere-20160831.356 imenu-list-20170215.125
impatient-mode-20170505.1921 nil
nil nil
ivy-20170524.950 nil
nil nil
json-mode-20170418.1900 nil
less-css-mode-20160930.2153 nil
magit-20170525.1546 markdown-mode-20170525.435
markdown-toc-20170224.2350 nil
nil nil
nil nil
multi-term-20160619.233 nil
nav-flash-20140508.1341 neotree-20170522.758
nlinum-1.6 nil
nil ob-go-20170324.932
ob-mongo-20161130.152 ob-redis-20160411.2013
ob-restclient-20160323.2305 ob-rust-20150612.1423
ob-sql-mode-20170213.1056 ob-translate-20160411.124
nil nil
org-bullets-20140918.1137 org-download-20170213.1151
org-plus-contrib-20170515.1405 org-tree-slide-20160513.2325
osx-clipboard-20141012.17 ox-reveal-20161027.226
pcre2el-20161120.1303 persp-mode-20170509.829
php-boris-20130527.121 php-extras-20160518.1716
php-mode-20170428.1853 php-refactor-mode-20160417.1446
phpunit-20161219.320 nil
projectile-20170416.148 psc-ide-20170512.1513
pug-mode-20170127.1949 purescript-mode-20161216.133
quickrun-20170222.1715 nil
rainbow-delimiters-20160430.2358 rainbow-mode-0.12
realgud-20170522.325 restclient-20170516.137
nil rotate-text-20111204.239
nil nil
nil s-20170428.1026
sass-mode-20161006.2326 nil
nil shackle-20170213.1534
nil nil
slime-20170511.1221 smart-forward-20140430.13
smartparens-20170524.1533 smex-20151212.1409
ssh-deploy-20170520.26 stripe-buffer-20141208.708
stylus-mode-20150313.812 nil
swiper-20170515.1409 nil
nil toc-org-20170518.451
toml-mode-20161107.1000 twittering-mode-20170312.735
nil vi-tilde-fringe-20141027.1942
vimrc-mode-20150607.913 visual-fill-column-20170502.1300
web-beautify-20161115.1447 web-mode-20170510.1127
wgrep-20141016.1656 which-key-20170521.549
nil yaml-mode-20170406.241
nil yasnippet-20170518.1753
+ byte-compiled files:
n/a
+ exec-path:
/usr/local/bin/
/usr/bin/
/bin/
/usr/sbin/
/sbin/
/usr/local/go/bin/
/Applications/Wireshark.app/Contents/MacOS/
/Users/user/dev/go/bin/
/usr/local/sbin/
/Users/user/dev/akka/activator-dist-1.3.10/bin/
/Users/user/.psvm/versions/v.0.9.2/bin/
/Users/user/bin/
/Users/user/.local/bin/
/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9/
/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_9/
/Applications/Emacs.app/Contents/MacOS/libexec/
+ PATH:
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/go/bin
/Applications/Wireshark.app/Contents/MacOS
/Users/user/dev/go/bin
/usr/local/sbin
/Users/user/dev/akka/activator-dist-1.3.10/bin
/Users/user/.psvm/versions/v.0.9.2/bin
/Users/user/bin
/Users/user/.local/bin
/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9
/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_9
----
There were issues!
Very odd. I'm unable to recreate this, in emacsplus or otherwise. Are you still having these issues?
I will check today when I get into the office
Cloned the latest config today. Still the same issue:
~/.emacs.d (master) DEBUG=1 make doctor
DOOM Doctor
Running Emacs v25.2.1, commit f07d5670361ca17a6275356d2917494d986d84a6
Compiled with:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
Darwin laptop.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14
16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64 i386
MacBookAir6,2 Darwin
Rejected https://elpa.gnu.org/packages/archive-contents
(error "Certificate validation failed elpa.gnu.org, verification code
142")
Rejected https://melpa.org/packages/archive-contents
(error "Certificate validation failed melpa.org, verification code
142")
Rejected https://self-signed.badssl.com (a good thing!)
(error "Certificate validation failed self-signed.badssl.com,
verification code 142")
Rejected https://wrong.host.badssl.com/ (a good thing!)
(error "Certificate validation failed wrong.host.badssl.com,
verification code 142")
====
Have some debug information:
Attempt to load DOOM: failed
(Cannot open load file No such file or directory quelpa)
byte-compiled files:
n/a
exec-path:
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/user/Documents/_workspace/godev/bin
/Users/user/Documents/_workspace/godev/bin
/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9
/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_9
/Applications/Emacs.app/Contents/MacOS/libexec
/Applications/Emacs.app/Contents/MacOS/bin
PATH:
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/user/Documents/_workspace/godev/bin
/Users/user/Documents/_workspace/godev/bin
/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_9
/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_9
Having same problem
SOLVED on macOS Sierra by reinstalling emacs
Uninstall brew and brew cask version of emacs
Install with formula brew install --with-cocoa emacs
^ this did not fix the issue for me, still occurring
Moving /Applications/Emacs.app/Contents/MacOS/lib/libgnutls.30.dylib to some safe store *does fix the problem. Not a problem with this, but a problem with MacOS Emacs.
I installed emacs and gnutls using
brew install emacs --with-cocoa
brew install gnutls
This resulted in the error OP is describing
(error "Certificate validation failed elpa.gnu.org, verification code 142")
I managed to fix this by reinstalling with
brew install emacs --with-cocoa --with-gnutls
The homebrew formulas for Emacs have changed quite a bit since this issue was first opened (i.e. gnutls is included in emacs and emacs-plus by default), so I'll consider this issue resolved. Let me know you're still experiencing these issues.
I'm getting this issue with emacs installed by brew cask install emacs (which pulls a .app from emacsformacosx.com)
Output of DEBUG=1 make doctor
DOOM Doctor
Running Emacs v26.1, commit 5dacbb7cb1c6ac246a9ccd15e6c4290def67757c
shell: /usr/local/bin/bash
Compiled with:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS
uname -a:
Darwin NixonMacBook2008 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun
21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64 x86_64 i386
MacBook5,1 Darwin
Attempt to load DOOM: failed
(Cannot open load file No such file or directory async-autoloads)
----
test-emacs
test-windows
test-fonts
test-gnutls
test-tls
Failed to validate https://elpa.gnu.org
(error "Certificate validation failed elpa.gnu.org, verification code
42")
Failed to validate https://melpa.org
(error "Certificate validation failed melpa.org, verification code
42")
Successfully rejected https://self-signed.badssl.com
Successfully rejected https://wrong.host.badssl.com/
test-tar
====
Have some debug information:
+ byte-compiled files:
n/a
+ exec-path:
/Users/nixon/.nix-profile/bin
/usr/local/opt/ruby/bin
/Users/nixon/miniconda3/condabin
/usr/local/opt/llvm/bin
~/bin
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/opt/make/libexec/gnubin
/Users/nixon/.cargo/bin
/Users/nixon/.composer/vendor/bin
/usr/local/sbin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Library/Frameworks/Mono.framework/Versions/Current/Commands
/Library/TeX/texbin
/Applications/Wireshark.app/Contents/MacOS
/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_10
/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_10
/Applications/Emacs.app/Contents/MacOS/libexec
/Applications/Emacs.app/Contents/MacOS/bin
+ PATH:
/Users/nixon/.nix-profile/bin
/usr/local/opt/ruby/bin
/Users/nixon/miniconda3/condabin
/usr/local/opt/llvm/bin
~/bin
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/opt/make/libexec/gnubin
/Users/nixon/.cargo/bin
/Users/nixon/.composer/vendor/bin
/usr/local/sbin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Library/Frameworks/Mono.framework/Versions/Current/Commands
/Library/TeX/texbin
/Applications/Wireshark.app/Contents/MacOS
/Applications/Emacs.app/Contents/MacOS/bin-x86_64-10_10
/Applications/Emacs.app/Contents/MacOS/libexec-x86_64-10_10
----
There were issues!
@aDotInTheVoid Do you still have this issue? If so, I highly recommend you do not use the cask/emacsformacosx.com build of Emacs and use the emacs, emacs-plus or emacs-mac homebrew formulaes instead.
I think so. But my homebrew is giving an incomprehensible error, so I can't really try. I'm sorry, but I can't be surprised on OSX el captital.
Most helpful comment
I installed emacs and gnutls using
This resulted in the error OP is describing
I managed to fix this by reinstalling with