unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* problem with gnutls in my local emacs build.
@ 2021-07-06 11:16 joakim
  0 siblings, 0 replies; 2+ messages in thread
From: joakim @ 2021-07-06 11:16 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem with gnutls in my local emacs build.
@ 2021-07-07  6:29 Pedro Andres Aranda Gutierrez
  0 siblings, 0 replies; 2+ messages in thread
From: Pedro Andres Aranda Gutierrez @ 2021-07-07  6:29 UTC (permalink / raw)
  To: joakim; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

Hi

I've been troubled by GNUTLS too. So in my Ubuntu focal buils, I have
version 3.6.13 and in my macOS I made sure to have the last 3.6 version and
currently (knock wood) have no problems.

You seem to have the development version for GNUTLS (3.7) and I'm inclined
to say that that may be the cause. Try downgrading GNUTLS to 3.6 in Fedora
(which BTW I have no clue of how to do it or if it even is possible).

My .2 cents, /PA

-- 
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

[-- Attachment #2: Type: text/html, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-07  6:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-06 11:16 problem with gnutls in my local emacs build joakim
  -- strict thread matches above, loose matches on Subject: below --
2021-07-07  6:29 Pedro Andres Aranda Gutierrez

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).