From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: gnutls on mingw64 Date: Tue, 26 Nov 2019 04:34:10 -0800 Message-ID: <86h82qq0jh.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="100664"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 26 13:34:54 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iZa3R-000Q2j-LP for ged-emacs-devel@m.gmane.org; Tue, 26 Nov 2019 13:34:54 +0100 Original-Received: from localhost ([::1]:54142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZa3Q-0005Ee-3C for ged-emacs-devel@m.gmane.org; Tue, 26 Nov 2019 07:34:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52036) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZa3C-0005EL-OK for emacs-devel@gnu.org; Tue, 26 Nov 2019 07:34:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZa3A-0001QB-6Y for emacs-devel@gnu.org; Tue, 26 Nov 2019 07:34:38 -0500 Original-Received: from gateway24.websitewelcome.com ([192.185.51.172]:17260) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iZa36-0000vq-CF for emacs-devel@gnu.org; Tue, 26 Nov 2019 07:34:34 -0500 Original-Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 9CE82342DA for ; Tue, 26 Nov 2019 06:34:13 -0600 (CST) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id Za2niWpQ0OdBHZa2nijJ6H; Tue, 26 Nov 2019 06:34:13 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RCkWVEdxL10LHKd112dyHWS9d4FUGgnlQEfqmRS6aJg=; b=gpneXygGVbWI+VITsG2V65L27/ ZnhvFjmLPBOZLsoXjcF7S6o3KlicZf0dj57L4qUbxBJ87VT5QjMKQw/eZUzHPMaElue/NuFRIKHTl 14obTbyFg8wdur78NhXzDM9a9oOsec2DBH3j6Ag0G/4o0esHB35QhtFEjLwGXboAVMqm6v51xBH6y bZIysWgLgJvJtejN0WXjF8CN7T5WP/OJ8cDIebuF9XCUzNL4muwHnZE1vHFil/Tfq1u/oCDoxQCiK jGdhKSJsko62wBnNdE83R8n7Ffrel5RZ5IpG/2fS8iI9BnCouvms0dxC8UKhs9Di2TK8m9zcbHSSL 8q9DB1gg==; Original-Received: from [76.77.182.20] (port=54538 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iZa2n-0004na-2C for emacs-devel@gnu.org; Tue, 26 Nov 2019 05:34:13 -0700 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 76.77.182.20 X-Source-L: No X-Exim-ID: 1iZa2n-0004na-2C X-Source-Sender: (Takver4) [76.77.182.20]:54538 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 1 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 192.185.51.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:242732 Archived-At: I'm trying to get list-packages to use https, which requires gnutls. I'm running Emacs master on mingw64. gnutls-available-p returns nil. Running emacs under the debugger, I can trace this to LoadLibraryW failing; the file name is L"libgnutls-30.dll", which is in PATH as D:\msys64\mingw64\bin\libgnutls-30.dll, installed via pacman. Currently neither w32_delayed_load nor init_gnutls_functions calls GetLastError; would it help to add that? Since the file should be found, it seems DllMain is returning False? What might be the reason for that? -- -- Stephe