caldwell / build-emacs

Build scripts for www.emacsformacosx.com
http://www.emacsformacosx.com/about
GNU General Public License v3.0
364 stars 61 forks source link

Emacs 26.0.91-1 crash when using TLS libraries #67

Closed Lindydancer closed 6 years ago

Lindydancer commented 6 years ago

Hi!

I just downloaded 26.0.91-1 (the repacked version with a signed TLS library). When I launch Emacs and run something like package-refresh-contents, it crashes with what appears to a problem in the GNUTLS libraries.

I use an eight core Mac Pro 2008 running 10.10.5 (Yosemite).

I've attached the macOS crash log, as a plain text file.

Emacs26crash.txt

Sincerely, Anders Lindgren (former Emacs NS-port maintainer)

NateEag commented 6 years ago

This looks like a duplicate of #60.

Maybe see if this workaround works for you?

Lindydancer commented 6 years ago

No, it's not, since I have no problems running 25.2 from www.emacsforosx.com on my machine.

I already have a workaround (building Emacs for sources) -- I reported so that it can be fixed before Emacs 26 is released, when I suspect a large number of people will download Emacs.

-- Anders
NateEag commented 6 years ago

Ah, okay. Makes sense.

ferfebles commented 6 years ago

Same here with Emacs 26.1 running in a MacBook Pro Mid2010 with HighSierra 10.13.4.

Solved by uninstalling/reinstalling homebrew and then using the commented workaround with the two libgnutls.30.dylib that I found.

mv /Applications/Emacs.app/Contents/MacOS/lib-x86_64-10_10/libgnutls.30.dylib libgnutls.30.dylib_10
mv /Applications/Emacs.app/Contents/MacOS/lib-x86_64-10_9/libgnutls.30.dylib libgnutls.30.dylib_10
brew install gnutls

After that I can install packages with Emacs26.1.

(Perhaps reinstalling homebrew is not needed, but I did that before trying the workaround )

Lindydancer commented 6 years ago

Hi,

I'm glad you got it working with the workaround.

However, I'm still hoping for a solution where Emacs would work out of the box. Installing Brew is not something that all Mac users is comfortable with, or is even allowed to do.

-- Anders

On Wed, May 30, 2018 at 11:12 AM, ferfebles notifications@github.com wrote:

Same here with Emacs 26.1 running in a MacBook Pro Mid2010 with HighSierra 10.13.4.

Solved by uninstalling/reinstalling homebrew and then using the commented workaround https://github.com/caldwell/build-emacs/issues/60#issuecomment-327835428 with the two libgnutls.30.dylib that I found.

mv /Applications/Emacs.app/Contents/MacOS/lib-x86_64-10_10/libgnutls.30.dylib libgnutls.30.dylib_10 mv /Applications/Emacs.app/Contents/MacOS/lib-x86_64-10_9/libgnutls.30.dylib libgnutls.30.dylib_10 brew install gnutls

After that I can install packages with Emacs26.1.

(Perhaps reinstalling homebrew is not needed, but I did that before trying the workaround )

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/caldwell/build-emacs/issues/67#issuecomment-393089387, or mute the thread https://github.com/notifications/unsubscribe-auth/ADBjQDnzLah7P8UlqCfcFaLTHOY2IIsFks5t3mKKgaJpZM4R6EfM .