From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: problems building emacs with libgpm & gnutls on an old Debian system (Jessie) Date: Fri, 07 Aug 2020 12:49:44 +0200 Message-ID: References: <87y2mrn4jn.fsf@ucl.ac.uk> <87lfiqu5bu.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2716"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eric S Fraga Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 07 12:50:42 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3zxS-0000cY-BR for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 07 Aug 2020 12:50:42 +0200 Original-Received: from localhost ([::1]:54566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k3zxR-00034X-Ck for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 07 Aug 2020 06:50:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k3zwc-000332-UL for help-gnu-emacs@gnu.org; Fri, 07 Aug 2020 06:49:51 -0400 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:43751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k3zwb-0003rB-A5 for help-gnu-emacs@gnu.org; Fri, 07 Aug 2020 06:49:50 -0400 Original-Received: by mail-wr1-x430.google.com with SMTP id a15so1236757wrh.10 for ; Fri, 07 Aug 2020 03:49:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=n2awbdfJBDODkm1gvKx56KPFH7a76eZjc7N8sX27nV4=; b=RUTFFHG7Y3LFHQ1Kn2FgW+AXnwyGwmewKDbTow02F1TD/ZANRWPGbC9fPkyxzrwOKs js4dj8u4mAf6AvNVvvHYdyrWcOEh+SgXg2wedHp/7d72tegkhYcxCDj1cbHzWcRFx21U unpiIjgTeiz0aa6Brs/qkgtjuGs2esK9ejUQ2s/cD7dPaQM7jw1KjQ9Plsx9pJyJEwC7 N0qxrCc6x20c3kj0tdw+yqAZ8D8xWtZ31xvP+xv9dPQ75BMEE6u8ALvO2hEnsB7VQz4S 0P+r/gl2d0LvadYOqAPR/Mn76Cmhg6NZfKb3IHZYpIb2rSonfp/3dHZPamVsGRa3D6Vl DtAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=n2awbdfJBDODkm1gvKx56KPFH7a76eZjc7N8sX27nV4=; b=tRnFAoSMF4LSTaoGJGPOs2OgiXFW/2nutWw53bxceUScRHm4G/LnKLrDQ/CF6lQJcv zV7DHoWrPfVQrsSB2R7kpPFkdYO6YwgeuCkbfB377y0W4KIzJS3i+L8syJXakffMxVMG iyD2kBmCJYdGM7jI55BC/yT9r8da4j5QpGEm5t5tW8adJaeMpPgHdQVm+pDXDaKoxSBG EM+09ol9NfqvE9zNmW8db9oCZv7uem6BL7KZbnbYIkvbAbF0Qb53jRbt+VYBkfFjMfXj by6DLb5P2vMlJmsB6nvvDKOZxmrJEJ1jJYuCBQT/SuK/YWFiOXxVF6gO0ZNXmspzQUAI 1SjQ== X-Gm-Message-State: AOAM5335g1IM7SvCrwRS0ZPxfXcSy0+VpT5GsbLdcG/AYMhoaIerC3ng SYzSOuY43I90YFY1I4OY5+xpouRNSRo= X-Google-Smtp-Source: ABdhPJxZSA5RQ/ReYhR5qxifXCntlJntbXk/C39dRfdPz4kEeG8Qy7g0b95v2BQJx8vtrqcA5riI2w== X-Received: by 2002:adf:e2ce:: with SMTP id d14mr11540816wrj.6.1596797386005; Fri, 07 Aug 2020 03:49:46 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:47a:2c01:28af:badc]) by smtp.gmail.com with ESMTPSA id q4sm10138045wme.31.2020.08.07.03.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Aug 2020 03:49:45 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <87lfiqu5bu.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 07 Aug 2020 11:18:45 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=rpluim@gmail.com; helo=mail-wr1-x430.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123647 Archived-At: >>>>> On Fri, 07 Aug 2020 11:18:45 +0100, Eric S Fraga = said: Eric> On Thursday, 6 Aug 2020 at 19:40, Robert Pluim wrote: >> I think you can configure emacs using '--without-libgmp', then it wi= ll >> use a builtin version of gmp. I=CA=BCm assuming that linking to libg= nutls >> only has a runtime dependency on libgmp, not a requirement to have >> access to gmp headers. Eric> Hi Robert, Eric> Thank you. This worked, in the sense that Emacs compiles with GN= UTLS Eric> enabled and GMP disabled. Good. Eric> However, when I try to open servers in gnus, I get the following = error Eric> message for each server (whether pop, imap, or nntp): Eric> ,---- Eric> | Decrypting /home/ucecesf/s/dotfiles/authinfo.gpg...done=20 Eric> | Mail source (pop :server XXX :user YYY :port 995) error (Gettin= g random data). Eric> | Continue? (y or n)=20 Eric> `---- That means 'getrandom' is failing. Do you have HAVE_GETRANDOM set in src/config.h? If not, emacs will use the gnulib version. It=CA=BCs entirely possible that it=CA=BCs not working quite right on such an old system. Looking at the code, it will try to open "/dev/random" or "/dev/urandom". Or the system one is failing, in which case you can try the gnulib one by unsetting HAVE_GETRANDOM in src/config.h Eric> I have a feeling that this is gnutls related but I am not sure. = Any Eric> pointers would again be very welcome! Eric> I may have to consider upgrading that computer to Debian stretch.= .. but Eric> that would be my last resort. I suspect that would take quite some doing. Robert