From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.bugs Subject: bug#31339: 25.3.50; package-list-packages does not provide useful error when gnutls-cli is missing Date: Wed, 02 May 2018 02:33:39 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1525228393 20820 195.159.176.226 (2 May 2018 02:33:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 2 May 2018 02:33:13 +0000 (UTC) To: 31339@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 02 04:33:09 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 1fDhZp-0005Gf-A9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 May 2018 04:33:05 +0200 Original-Received: from localhost ([::1]:47090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDhbv-0005ep-On for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 May 2018 22:35:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDhbj-0005ei-Up for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 22:35:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDhbi-0001Sr-9Z for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 22:35:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDhbi-0001Sd-5t for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 22:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fDhbh-0008MG-VX for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 22:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Hanchrow Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 May 2018 02:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152522844432054 (code B ref -1); Wed, 02 May 2018 02:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 May 2018 02:34:04 +0000 Original-Received: from localhost ([127.0.0.1]:46243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDham-0008Ku-9C for submit@debbugs.gnu.org; Tue, 01 May 2018 22:34:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fDhak-0008KP-3w for submit@debbugs.gnu.org; Tue, 01 May 2018 22:34:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDhad-0000R7-CY for submit@debbugs.gnu.org; Tue, 01 May 2018 22:33:56 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fDhad-0000R1-9o for submit@debbugs.gnu.org; Tue, 01 May 2018 22:33:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDhab-0005Tb-BI for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 22:33:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDhaZ-0000Oe-Qz for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 22:33:53 -0400 Original-Received: from mail-qt0-x232.google.com ([2607:f8b0:400d:c0d::232]:33582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDhaZ-0000OJ-KL for bug-gnu-emacs@gnu.org; Tue, 01 May 2018 22:33:51 -0400 Original-Received: by mail-qt0-x232.google.com with SMTP id e8-v6so11796376qth.0 for ; Tue, 01 May 2018 19:33:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=iPVgCTR/xWug2fnRw2BycEylX4hZsSynA/ehWBFSdLU=; b=MKb1yvwG3hHFFjYRg+elKldDNyidXS2+3maP1m2FJHsCRBOzvXEq04D/YoO2eJsDcc q4TDJr3we44D30R+kyiTJlMM541FMB4XlIki5diHgXls7ultJ5ysDjOZ6+kKOd8veuZ8 UqJ3CpWpK4uL0Yzt4ZUqDZfbYBKW5KKAjZF5rgGFWFS13mtxDQzRvg6nhNbSPHZofT9L HsZ3II90/Nf9lfJU85MwmmyWO4fB2coQSGwP2oTBaGPx9a4QX6WDugadX2VmJnBIxJJ1 5Qwu1ulAW/CcmJtDeqOIHBqJx5d7vvfOaZYlmbHXLH3AFH0v8cQQd8026TN3DbbEODnE pmVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=iPVgCTR/xWug2fnRw2BycEylX4hZsSynA/ehWBFSdLU=; b=CbK/24h8GpIhR48aoNV2CfvxdO373cJ0HUJLHvGH20IcAH8imlDzOcDZtSg5+5oOTb YOTcMF660+WtvvLAJNzpjySdoBQ4+jg55Atk6KOEfTwBJOr3UUL3LFEBDT3kL59me6UD K1ydEui13dlqo6bdBHxyZHsS5lVrpVGAH942CViY253RvvJU/DuADg3umvI8zQMbshQv PE7lZx558dPEbGX4CHVF8kduA9v0KVG0s08KIm7cyT9iWlNNNxQrfHYc05B1zROFRUEn aq3loZHwmmKx+NUvC5ccoro8C4EjpFxJ3FATUX+O4C0gao6QfkjfT53x4FoppbT34Gtx nC6w== X-Gm-Message-State: ALQs6tCyzi2XF3pvJ7aKtI/LdLOWLGax5Op5kSbgk0u+oi0wHWm5c8Et DYxV4Ob+ZjQrGYZVCJWwbJu7gEuFgJBq0cMeQBmHVA== X-Google-Smtp-Source: AB8JxZoEVFP/Zu9lMqAcYVRWQ+S73bkiKbXiXmoPYdVvK+oYBmIq6h5RWGv10uzdxcQ6dbMqf/lDgwi3w2At19OM8Co= X-Received: by 2002:aed:2a67:: with SMTP id k36-v6mr15217964qtf.302.1525228430396; Tue, 01 May 2018 19:33:50 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:145914 Archived-At: I typed "M-x package-list-packages", and saw complaints about ... Opening TLS connection to =E2=80=98melpa.org=E2=80=99... Opening TLS connection with =E2=80=98gnutls-cli --x509cafile /etc/pki/tls/certs/ca-bundle.crt -p 443 melpa.org=E2=80=99...failed Opening TLS connection with =E2=80=98gnutls-cli --x509cafile /etc/pki/tls/certs/ca-bundle.crt -p 443 melpa.org --protocols ssl3=E2=80=99= ...failed Opening TLS connection with =E2=80=98openssl s_client -connect melpa.org:44= 3 -CAfile /etc/pki/tls/certs/ca-bundle.crt -no_ssl2 -ign_eof=E2=80=99...faile= d Opening TLS connection to =E2=80=98melpa.org=E2=80=99...failed Package refresh done Failed to download =E2=80=98melpa=E2=80=99 archive. I eventually realized that the problem was simply due to my not having a gnutls-cli executable! But it took me longer to realize that than it should have. OK, I confess; it took me _two years_ to realize that (seriously). I'd just assumed that the problem was some subtle certificate mismatch or something that I'd never understand, and I put up with it. Would it be possible to emit a message describing _why_ gnutls-cli failed? In GNU Emacs 25.3.50.1 (x86_64-unknown-linux-gnu) of 2018-01-26 built on dev-dsk-erichan-2b-i-833ca944.us-west-2.amazon.co= m Repository revision: 79bbd51b1893b65626aeffb13ce1784906fc642d Configured using: 'configure --without-x' Configured features: JPEG SOUND GPM NOTIFY LIBSELINUX LIBXML2 ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Messages Minor modes in effect: which-function-mode: t projectile-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t global-hl-line-mode: t savehist-mode: t global-flycheck-mode: t pyvenv-mode: t shell-dirtrack-mode: t global-auto-revert-mode: t recentf-mode: t ido-everywhere: t diff-auto-refine-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: reference to free variable =E2=80=98Opening=E2=80=99 Mark set [2 times] Auto-saving...done Mark set [3 times] C-M-y is undefined Mark set [2 times] Saving file /local/home/erichan/homedir/.emacs.d/init.el... Wrote /local/home/erichan/homedir/.emacs.d/init.el No obsolete buffers; did nothing. No projects needed to be removed. Load-path shadows: /home/erichan/.emacs.d/elpa/let-alist-1.0.5/let-alist hides /home/erichan/git-repositories/3rd-party/emacs/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr emacsbug view rect align eieio-opt speedbar sb-image ezimage dframe apropos conf-mode perl-mode bug-reference magit-imenu which-func ruler-mode fringe scroll-bar company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-files company-cmake company-xcode company-clang company-eclim company-css company-nxml company-bbdb yasnippet find-dired twb-find-dired wdired magit-extras flyspell markdown-mode noutline outline dabbrev image vc vc-dispatcher misearch multi-isearch sh-script smie executable tabify imenu man projectile ert ewoc debug jka-compr git-rebase ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff magit-bookmark magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit epa magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-collab ghub let-alist magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert magit-process magit-margin magit-mode git-commit magit-git magit-section magit-utils crm magit-popup log-edit pcvs-util add-log with-editor async-bytecomp term disp-table ehelp server smtpmail sendmail dired-aux async tempo ispell company-dabbrev company-template color tar-mode autoload lisp-mnt mm-archive message rfc822 mml mml-sec mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode url-handlers network-stream nsm starttls url-http mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-cache url-auth epg term/xterm xterm hl-line savehist work-log-mode flycheck elisp-slime-nav bookmark edit-list highlight-indentation flymake company elpy find-file-in-project ivy delsel ivy-overlay ffap windmove pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util elpy-shell elpy-profile elpy-django s elpy-refactor python tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell json map files-x etags xref project cus-edit cus-start cus-load browse-kill-ring advice eww mm-url gnus gnus-ems nnheader mail-utils url-queue url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap shr dom browse-url ws-butler warnings dired-subtree dired-hacks-utils dash wat derived autorevert filenotify recentf tree-widget ido vc-git diff-mode ibuf-ext ibuffer ibuf-macs dired-x dired grep compile find-func rotate cl face-remap edmacro kmacro tls gnutls erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete comint ansi-color ring erc-track erc-match erc-button wid-edit erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec auth-source cl-seq eieio eieio-core gnus-util time-date mm-util help-fns mail-prsvr password-cache thingatpt pp use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key cl-macs easy-mmode use-package-core regexp-opt subr-x finder-inf info tool-bar package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib rx mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify multi-tty make-network-process emacs) Memory information: ((conses 16 1591445 212915) (symbols 48 64477 1) (miscs 40 8675 3312) (strings 32 234194 47131) (string-bytes 1 7941405) (vectors 16 91893) (vector-slots 8 2065070 95757) (floats 8 841 5025) (intervals 56 136277 5394) (buffers 976 362) (heap 1024 85439 6462))