GNU bug report logs - #22929
25.1.50; package-load-packages hangs forever

Previous Next

Package: emacs;

Reported by: Eric Hanchrow <eric.hanchrow <at> gmail.com>

Date: Mon, 7 Mar 2016 00:31:02 UTC

Severity: normal

Tags: patch

Merged with 23225, 23503, 23982

Found in version 25.1.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22929 in the body.
You can then email your comments to 22929 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22929; Package emacs. (Mon, 07 Mar 2016 00:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eric Hanchrow <eric.hanchrow <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 07 Mar 2016 00:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eric Hanchrow <eric.hanchrow <at> gmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: 25.1.50; package-load-packages hangs forever
Date: Mon, 07 Mar 2016 00:30:22 +0000
[Message part 1 (text/plain, inline)]
I put this into /tmp/repro.el:

    (toggle-debug-on-error t)
    (package-initialize)
    (let ((scheme "https://"))
      (setq package-archives
            `(("gnu" . ,(format "%selpa.gnu.org/packages/" scheme))

              ;; More secure; suggested by
https://glyph.twistedmatrix.com/2015/11/editor-malware.html
              ("melpa" . ,(format "%smelpa.org/packages/" scheme))

              ;;
http://blog.jorgenschaefer.de/2014/03/elpy-moves-to-its-own-elpa.html
              ("elpy" . ,(format "%sjorgenschaefer.github.io/packages/"
scheme)))

            tls-checktrust t
            ))
    (package-list-packages)

Then I started emacs with `open --new
~/git-repositories/3rd-party/emacs-master/nextstep/Emacs.app --args -Q
--load /tmp/repro.el`

I saw the *Packages* buffer appear, but the mode line said (Package
Menu:Loading), and stayed that way for many minutes; I expected it to
eventually change to (Package Menu).

I then did M-x list-processes and saw

    elpa.gnu.org    failed   *http elpa.... --           (network
connection to elpa.gnu.org)
    jorgenschaef... failed   *http jorge... --           (network
connection to jorgenschaefer.github.io)
    melpa.org       failed   *http melpa... --           (network
connection to melpa.org)





In GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.3.0, NS appkit-1404.34
Version 10.11.3 (Build 15D21))
 of 2016-03-06 built on Eric-Hanchrows-MacBook-Pro.local
Repository revision: 7882dc625e1ec562fcd0e1b743ef11b160cae18e
Windowing system distributor 'Apple', version 10.3.1404
Configured features:
JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Package Menu

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-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:
For information about GNU Emacs and the GNU system, type C-h C-a.
Debug on Error enabled globally
Importing package-keyring.gpg...done
Setting ‘package-selected-packages’ temporarily since "emacs -q" would
overwrite customizations

Load-path shadows:
/Users/erichanchrow/.emacs.d/elpa/helm-20160306.110/helm-multi-match hides
/Users/erichanchrow/.emacs.d/elpa/helm-core-20160305.2327/helm-multi-match
/Users/erichanchrow/.emacs.d/elpa/shorten-20150306.517/shorten hides
/Users/erichanchrow/.emacs.d/elpa/tracking-20151129.319/shorten

Features:
(shadow sort mail-extr emacsbug message dired dired-loaddefs format-spec
rfc822 mml mml-sec epa derived gnus-util rmail rmail-loaddefs mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail mail-utils
cus-edit wid-edit network-stream nsm starttls url-http tls gnutls
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw
puny seq url-cache url-auth url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap epg
finder-inf go-mode-autoloads info package epg-config url-handlers
url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile
cl-extra help-mode easymenu cconv eieio-core cl-macs gv eieio-loaddefs
cl-loaddefs pcase cl-lib password-cache url-vars cus-start cus-load
time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/ns-win ns-win ucs-normalize term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors 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
obarray 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 kqueue
cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 328881 7499)
 (symbols 48 33953 0)
 (miscs 40 61 175)
 (strings 32 51560 10192)
 (string-bytes 1 1213646)
 (vectors 16 39105)
 (vector-slots 8 713983 4934)
 (floats 8 236 111)
 (intervals 56 7211 386)
 (buffers 976 16))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22929; Package emacs. (Mon, 07 Mar 2016 20:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 22929 <at> debbugs.gnu.org (full text, mbox):

From: Josh Wasserstein <ribonucleico <at> gmail.com>
To: Eric Hanchrow <eric.hanchrow <at> gmail.com>, 22929 <at> debbugs.gnu.org
Subject: Re: bug#22929: 25.1.50; package-load-packages hangs forever
Date: Mon, 07 Mar 2016 20:21:48 +0000
[Message part 1 (text/plain, inline)]
I am having the exact same problem here after installing with

> brew install emacs --HEAD  --with-cocoa --with-gnutls  --with-librsvg
--with-imagemagick

in OS X.

Josh

On Sun, Mar 6, 2016 at 7:31 PM Eric Hanchrow <eric.hanchrow <at> gmail.com>
wrote:

> I put this into /tmp/repro.el:
>
>     (toggle-debug-on-error t)
>     (package-initialize)
>     (let ((scheme "https://"))
>       (setq package-archives
>             `(("gnu" . ,(format "%selpa.gnu.org/packages/" scheme))
>
>               ;; More secure; suggested by
> https://glyph.twistedmatrix.com/2015/11/editor-malware.html
>               ("melpa" . ,(format "%smelpa.org/packages/" scheme))
>
>               ;;
> http://blog.jorgenschaefer.de/2014/03/elpy-moves-to-its-own-elpa.html
>               ("elpy" . ,(format "%sjorgenschaefer.github.io/packages/"
> scheme)))
>
>             tls-checktrust t
>             ))
>     (package-list-packages)
>
> Then I started emacs with `open --new
> ~/git-repositories/3rd-party/emacs-master/nextstep/Emacs.app --args -Q
> --load /tmp/repro.el`
>
> I saw the *Packages* buffer appear, but the mode line said (Package
> Menu:Loading), and stayed that way for many minutes; I expected it to
> eventually change to (Package Menu).
>
> I then did M-x list-processes and saw
>
>     elpa.gnu.org    failed   *http elpa.... --           (network
> connection to elpa.gnu.org)
>     jorgenschaef... failed   *http jorge... --           (network
> connection to jorgenschaefer.github.io)
>     melpa.org       failed   *http melpa... --           (network
> connection to melpa.org)
>
>
>
>
>
> In GNU Emacs 25.1.50.1 (x86_64-apple-darwin15.3.0, NS appkit-1404.34
> Version 10.11.3 (Build 15D21))
>  of 2016-03-06 built on Eric-Hanchrows-MacBook-Pro.local
> Repository revision: 7882dc625e1ec562fcd0e1b743ef11b160cae18e
> Windowing system distributor 'Apple', version 10.3.1404
> Configured features:
> JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
>
> Important settings:
>   value of $LANG: en_US.UTF-8
>   locale-coding-system: utf-8-unix
>
> Major mode: Package Menu
>
> Minor modes in effect:
>   tooltip-mode: t
>   global-eldoc-mode: t
>   electric-indent-mode: t
>   mouse-wheel-mode: t
>   tool-bar-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-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:
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Debug on Error enabled globally
> Importing package-keyring.gpg...done
> Setting ‘package-selected-packages’ temporarily since "emacs -q" would
> overwrite customizations
>
> Load-path shadows:
> /Users/erichanchrow/.emacs.d/elpa/helm-20160306.110/helm-multi-match hides
> /Users/erichanchrow/.emacs.d/elpa/helm-core-20160305.2327/helm-multi-match
> /Users/erichanchrow/.emacs.d/elpa/shorten-20150306.517/shorten hides
> /Users/erichanchrow/.emacs.d/elpa/tracking-20151129.319/shorten
>
> Features:
> (shadow sort mail-extr emacsbug message dired dired-loaddefs format-spec
> rfc822 mml mml-sec epa derived gnus-util rmail rmail-loaddefs mm-decode
> mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail mail-utils
> cus-edit wid-edit network-stream nsm starttls url-http tls gnutls
> mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw
> puny seq url-cache url-auth url url-proxy url-privacy url-expand
> url-methods url-history url-cookie url-domsuf url-util mailcap epg
> finder-inf go-mode-autoloads info package epg-config url-handlers
> url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile
> cl-extra help-mode easymenu cconv eieio-core cl-macs gv eieio-loaddefs
> cl-loaddefs pcase cl-lib password-cache url-vars cus-start cus-load
> time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
> lisp-float-type mwheel term/ns-win ns-win ucs-normalize term/common-win
> tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
> elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
> select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
> term/tty-colors 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
> obarray 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 kqueue
> cocoa ns multi-tty make-network-process emacs)
>
> Memory information:
> ((conses 16 328881 7499)
>  (symbols 48 33953 0)
>  (miscs 40 61 175)
>  (strings 32 51560 10192)
>  (string-bytes 1 1213646)
>  (vectors 16 39105)
>  (vector-slots 8 713983 4934)
>  (floats 8 236 111)
>  (intervals 56 7211 386)
>  (buffers 976 16))
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22929; Package emacs. (Tue, 22 Mar 2016 22:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Duncan, David" <davdunc <at> amazon.com>:
Extra info received and forwarded to list. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 22 Mar 2016 22:17:02 GMT) Full text and rfc822 format available.

Message #13 received at 22929 <at> debbugs.gnu.org (full text, mbox):

From: "Duncan, David" <davdunc <at> amazon.com>
To: "22929 <at> debbugs.gnu.org" <22929 <at> debbugs.gnu.org>
Subject: bug#22929: 25.1.50; package-load-packages hangs forever
Date: Tue, 22 Mar 2016 17:09:30 +0000
+1 on this, GNU Emacs 25.1.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F1605)) of 2016-03-18


Built with homebrew 

# brew info emacs
emacs: stable 24.5 (bottled), devel 25.0.92, HEAD
GNU Emacs text editor
https://www.gnu.org/software/emacs/
/usr/local/Cellar/emacs/HEAD (3,918 files, 116.2M) *
Built from source with: --with-mailutils --with-imagemagick --with-gnutls --with-cocoa --with-librsvg
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/emacs.rb
==> Dependencies
Build: xz ✔, pkg-config ✔
Optional: d-bus ✔, gnutls ✔, librsvg ✔, imagemagick ✔, mailutils ✔, glib ✔




M-x list-processes 
... 
marmalade-re... failed   *http marma... --           (network connection to marmalade-repo.org)
marmalade-re... failed   *http marma... --           (network connection to marmalade-repo.org)
raw.githubus... failed   *http raw.g... --           (network connection to raw.githubusercontent.com)
raw.githubus... failed   *http raw.g... --           (network connection to raw.githubusercontent.com)



Merged 22929 23225 23503. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Fri, 01 Jul 2016 03:46:02 GMT) Full text and rfc822 format available.

Forcibly Merged 22929 23225 23503 23982. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Tue, 09 Aug 2016 12:58:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 07 Sep 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.