[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with gnutls in my local emacs build.
From: |
joakim |
Subject: |
problem with gnutls in my local emacs build. |
Date: |
Tue, 06 Jul 2021 13:16:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hello,
I have a problem with gnutls in my local emacs build, on Fedora 34.
I get this error:
emacs -Q
(package-refresh-contents)
Debugger entered--Lisp error: (gnutls-error #<process elpa.gnu.org> -402)
signal(gnutls-error (#<process elpa.gnu.org> -402))
package--with-response-buffer-1("https://elpa.gnu.org/packages/"
#f(compiled-function () #<bytecode -0x3fa1ad8b1af2d2f>) :file
"archive-contents" :async nil :error-function #f(compiled-function ()
#<bytecode -0x1a9f6fad3d92867f>) :noerror nil)
package--download-one-archive(("gnu" . "https://elpa.gnu.org/packages/")
"archive-contents" nil)
package--download-and-read-archives(nil)
package-refresh-contents()
(if (package-installed-p 'use-package) nil (package-refresh-contents)
(package-install 'use-package))
load-with-code-conversion("/home/joakim/emacstst/.emacs.d/init.el"
"/home/joakim/emacstst/.emacs.d/init.el" t t)
load("/home/joakim/emacstst/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode
-0xb6c0ec7b15fd25c>) #f(compiled-function () #<bytecode -0x1f3c686ddc0ce8b5>) t)
command-line()
normal-top-level()
I build from master from time to time, and my previous build works fine.
There is a difference in gnutls versions though:
working emacs:
libgnutls-version is a variable defined in ‘C source code’.
Its value is 30615
Broken emacs:
libgnutls-version is a variable defined in ‘src/gnutls.c’.
Its value is 30702
So I guess maybe something happened in the Fedora gnutls packages?
So I was thinking I should try to use a local gnutls build, so I can
tweak the config parameters to suit emacs. I would like this gnutls
build to be only know by emacs, and not the entire machine.
Is there some way to do this, other than building the pieces I want in
a container or something?
Thanks
/Joakim/
--
Joakim Verona
joakim@verona.se
- problem with gnutls in my local emacs build.,
joakim <=