From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32446: Configure-time requirement for gnutls is too old Date: Wed, 15 Aug 2018 19:09:03 +0300 Message-ID: <83y3d7ipcw.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1534366116 1833 195.159.176.226 (15 Aug 2018 20:48:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2018 20:48:36 +0000 (UTC) Cc: 32446@debbugs.gnu.org To: Gavin Smith , Ted Zlatanov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 22:48:31 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fq2iU-0000NG-3c for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Aug 2018 22:48:30 +0200 Original-Received: from localhost ([::1]:52128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fq2ka-0007K0-KF for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Aug 2018 16:50:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fq2kM-00079Z-AH for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 16:50:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fq2k9-000560-AW for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 16:50:20 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fq2jy-0004yb-JQ for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 16:50:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fq2jy-0004d1-HH for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2018 16:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Aug 2018 20:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32446 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32446-submit@debbugs.gnu.org id=B32446.153436618517758 (code B ref 32446); Wed, 15 Aug 2018 20:50:02 +0000 Original-Received: (at 32446) by debbugs.gnu.org; 15 Aug 2018 20:49:45 +0000 Original-Received: from localhost ([127.0.0.1]:52097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fq2jh-0004cM-7L for submit@debbugs.gnu.org; Wed, 15 Aug 2018 16:49:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fq2jf-0004c7-2k for 32446@debbugs.gnu.org; Wed, 15 Aug 2018 16:49:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpyMF-00017M-0C for 32446@debbugs.gnu.org; Wed, 15 Aug 2018 12:09:31 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpyMB-00011s-Fh; Wed, 15 Aug 2018 12:09:12 -0400 Original-Received: from [176.228.60.248] (port=3323 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fpyM8-0000XY-8w; Wed, 15 Aug 2018 12:09:09 -0400 In-reply-to: (message from Gavin Smith on Wed, 15 Aug 2018 12:12:10 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149517 Archived-At: > From: Gavin Smith > Date: Wed, 15 Aug 2018 12:12:10 +0100 > > According to https://www.gnutls.org/abi-tracker/changelog/gnutls/3.4.10/log.html, > gnutls_cipher_get_tag_size was added in version 3.2.2. However, the > configure script for Emacs did not detect that I had an out-of-date > gnutls. From config.log: > > configure:13176: checking for LIBGNUTLS > configure:13183: $PKG_CONFIG --exists --print-errors "gnutls >= 2.12.2" > configure:13186: $? = 0 > configure:13200: $PKG_CONFIG --exists --print-errors "gnutls >= 2.12.2" > configure:13203: $? = 0 > configure:13241: result: yes > > The check is for an older version of gnutls, which my system passes: > > $ pkg-config --modversion gnutls > 3.1.25 > > I'd guess that the required version in 'configure' needs to be increased. The problem is not with the minimum required version, because we have additional version-dependent cpp conditions in gnutls.c. The problem is that we assumed these functions were available since GnuTLS 3.0.0, which is false. Ted, what would you propose to do with this issue? Disable the relevant functionality for versions of GnuTLS that don't have these APIs? Thanks.