From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: proposal: require GnuTLS 3.1.x (previous stable) (was: Build failure (master; MS-Windows)) Date: Tue, 25 Nov 2014 04:32:24 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87389762xj.fsf_-_@lifelogs.com> References: Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416907948 3535 80.91.229.3 (25 Nov 2014 09:32:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 09:32:28 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 25 10:32:19 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XtCTp-0003Z3-TQ for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2014 10:32:18 +0100 Original-Received: from localhost ([::1]:56198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtCTp-0001KW-EI for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2014 04:32:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtCTc-0001A2-W7 for emacs-devel@gnu.org; Tue, 25 Nov 2014 04:32:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtCTW-00079k-Mp for emacs-devel@gnu.org; Tue, 25 Nov 2014 04:32:04 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:44479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtCTW-00079c-4D for emacs-devel@gnu.org; Tue, 25 Nov 2014 04:31:58 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XtCTV-0003Iy-4r for emacs-devel@gnu.org; Tue, 25 Nov 2014 10:31:57 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Nov 2014 10:31:57 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Nov 2014 10:31:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:rHWabFnOrVKxWYgy7BO1CafHB/c= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178228 Archived-At: On Mon, 24 Nov 2014 00:09:40 +0100 Dani Moncayo wrote: >>> Now I the bootstrap ends without errors, but I still see these warnings: >>> >>> c:/cygwin64/home/Dani/devel/emacs/repo/src/gnutls.c:130:1: warning: >>> 'gnutls_connection_end_t' is deprecated [-Wdeprecated-declarations] >> >> That line has been unchanged there for quite a while, I think. The >> definition here is the same as it is in gnutls 2.12. DM> Ok, I've now realized that I updated my GnuTLS library on 2014-11-10, DM> from version 3.0.9 to 3.3.9: DM> ftp://ftp.gnutls.org/gcrypt/gnutls/w32/gnutls-3.3.9-w32.zip DM> I guess that explains the warning. Maintainers: we're now targeting Emacs 25 in the master branch and 3.3.x is the "next stable" version of GnuTLS. I think we should require GnuTLS 3.1.x ("previous stable") instead of 2.6.6 as we do now. In the C source, that would make HAVE_GNUTLS3 always true, and we'll also may add HAVE_GNUTLS3_2 and HAVE_GNUTLS3_3 (or special macros for each feature we need). Conditionally supporting GnuTLS 2.6.6 is a pain because many functions were added since then. It complicates the code significantly today and for the future, possibly hiding bugs in the compatibility layers. We're already starting to see these compilation issues in the bug tracker and on emacs-devel and it would be nice to cut the cord now. Ted