Received: (at submit) by debbugs.gnu.org; 15 Jun 2026 11:58:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 15 07:58:26 2026
Received: from localhost ([127.0.0.1]:40130 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wZ5xO-0006eL-Nc
for submit <at> debbugs.gnu.org; Mon, 15 Jun 2026 07:58:26 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:43846)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <lucas@HIDDEN>) id 1wZ1sn-0004OO-79
for submit <at> debbugs.gnu.org; Mon, 15 Jun 2026 03:37:22 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <lucas@HIDDEN>) id 1wZ1sh-0002tS-1f
for bug-gnu-emacs@HIDDEN; Mon, 15 Jun 2026 03:37:15 -0400
Received: from mail-dl1-x1233.google.com ([2607:f8b0:4864:20::1233])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <lucas@HIDDEN>) id 1wZ1se-00045K-JC
for bug-gnu-emacs@HIDDEN; Mon, 15 Jun 2026 03:37:14 -0400
Received: by mail-dl1-x1233.google.com with SMTP id
a92af1059eb24-1384eb94d20so4886858c88.1
for <bug-gnu-emacs@HIDDEN>; Mon, 15 Jun 2026 00:37:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=lucasec.com; s=lucasec; t=1781509031; x=1782113831; darn=gnu.org;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from:from:to:cc:subject:date:message-id:reply-to;
bh=GOFy8K0Air8YRJCDcwQUCaiSBNJTyNZcZ9ddgiwMztc=;
b=oB9qhzuur1CVsvjN09qiYumyNf5EB3AXu8gHcmj7irdU/bI+8l8k8qRPwJOpR70JsK
QidF/tUOonmTD3RvU7GNvS1/1VRiYhtIufmuuUZHllJlmtJl0Y7y8rSno9dxuFnRFcbl
WdP/XW4qFwoNTYwFaNV064J/N80t1D/BEp7C0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1781509031; x=1782113831;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=GOFy8K0Air8YRJCDcwQUCaiSBNJTyNZcZ9ddgiwMztc=;
b=fGw7RdFBuHw9YjV/QsZHi2dBXo2o0m8yJ3677LRRfZ3ZQnA6fiLKh9XqpYZ/iK/yJs
IRWjvGWU5/TNwAbdyeomCdESg8M51+ynaKLeaGugAKdEecHk+eP7wvCLzUr7zHwcR8kg
s8VzhZnRiOYl0aafFYaYgIxtaUz3Y35Y7dh3hLGTScHWhfBGO4aH6+b6RVZJgVf9YN7+
5wMky8NX4IXFUECR84hBOJREuCXUd8rihcLi95XDPKMo9zt2wd0jYtrA8W9oPwSfaT6c
tJEkwEV4/MGlbaBxRIPnVxZ1hgN3nxiOl0CCks5knNrKkCUh6ZTEMz1ZdtTYEmQTH/FQ
Ig1w==
X-Gm-Message-State: AOJu0YxAmsd+9II35zTI4ndNVlNHn7FP1kjU61hBE5/WgSaraXs5KrFK
w4J2pZsA3v3MfP7SrZIb5CwKtQ9+LQpE15CjKINmpOyXFs6tvMIfjc0lY8aaeJTlpGNsGJr1qq+
sWYElag==
X-Gm-Gg: Acq92OFMLcNc8/hqH7qA7GOUf9K3nHhMmiMrxK3vtiE/MoS5atAiyfoO0Naq0F5okay
l2Ys60qdTtZP08zM8DlzCSp2W30pDFkmCeVpdXpfSf8Ei7PIfKGqNfo57sPDBVdj2mB3GAGL/nu
6TGrFwNOjQCgY3wVqAEorlo26ct+ZMYIOoPJUlTYeHBfCYdjvpLkK6A7M/HGRe+a8NfpRJE0928
YOBv3B27vF21tfI2C+xkPMc77rAKi0Dh9uR/IvcUk+hRTJLxBKYscIdv8N3NBTorGKBzfhvB4/j
Rpebff81uOnuZWKmmh1X5onbiRlrsRL/27SD+nO8mYMZZvy2FGQ+HoJugCVAPUZ2xxYOs/8Q0wn
ksnOlD8a4+zAPpIpwX6aZknxEkcQbk93p0bsIodjDkzzWHRgv4Y/rouAhj7ow6pCNcwrlOPQARo
8BT1ItxGM0Uyk3uMQeinsHaTXn0cMa/OnytoFeYMk/AAvrovctfsee/XArp/H1xJwsmVfi0gxdq
rfjzcMn1JTBFhcp+NzSKOtcD+VGpBY+iNCukJoc9w==
X-Received: by 2002:a05:7022:619:b0:138:36f:4288 with SMTP id
a92af1059eb24-1386f24697amr3988806c88.15.1781509030230;
Mon, 15 Jun 2026 00:37:10 -0700 (PDT)
Received: from LC-MBP-2021.local ([2601:645:8104:f331:703d:7ddb:cc30:5f46])
by smtp.gmail.com with ESMTPSA id
a92af1059eb24-1384b9815a6sm9773448c88.15.2026.06.15.00.37.09
for <bug-gnu-emacs@HIDDEN>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 15 Jun 2026 00:37:09 -0700 (PDT)
From: Lucas Christian <lucas@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.90; "List contains a loop" error when trying to run
package-upgrade
X-Debbugs-Cc:
Date: Mon, 15 Jun 2026 00:37:06 -0700
Message-ID: <m2o6hcntjx.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::1233;
envelope-from=lucas@HIDDEN; helo=mail-dl1-x1233.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 15 Jun 2026 07:58:20 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)
If I try to run `package-upgrade' in my setup, the command typically works =
only once. After I either upgrade a package or press C-g, trying to run `pa=
ckage-upgrade' again produces the following error:
List contains a loop: ((ibuffer-projectile #s(package-desc ibuffer-projecti=
le (0 4) "Group ibuffer's list by projectile root." ((projectile (0 11 0)) =
(emacs (25 1)) (seq (2))) nil nil "/Users/lucas/.emacs.d/elpa/ibuffer-proje=
ctile-0.4" ((:maintainers ("Steve Purcell" . "steve@HIDDEN")) (:auth=
ors ("Steve Purcell" . "steve@HIDDEN")) (:keywords "convenience") (:=
revdesc . "710ecac15782") (:commit . "710ecac1578273bf31debe52870f5844472e3=
428") (:url . "https://github.com/purcell/ibuffer-projectile")) nil)) (hydr=
a #s(package-desc hydra (0 15 0) "Make bindings that stick around." ((cl-li=
b (0 5)) (lv (0))) nil nil "/Users/lucas/.emacs.d/elpa/hydra-0.15.0" ((:mai=
ntainers ("Oleh Krehel" . "ohwoeowho@HIDDEN")) (:authors ("Oleh Krehel" =
. "ohwoeowho@HIDDEN")) (:keywords "bindings") (:revdesc . "f27fce1b2f0a"=
) (:commit . "f27fce1b2f0a9162e159557bdeb2c0c94defb4d2") (:url . "https://g=
ithub.com/abo-abo/hydra")) nil)) (htmlize #s(package-desc htmlize (1 59) "C=
onvert buffer text and decorations to HTML." ((emacs (26 1))) nil nil "/Use=
rs/lucas/.emacs.d/elpa/htmlize-1.59" ((:maintainers ("Hrvoje Niksic" . "hni=
ksic@HIDDEN")) (:authors ("Hrvoje Niksic" . "hniksic@HIDDEN")) (:keyw=
ords "hypermedia" "extensions") (:revdesc . "release/1.59-0-ga24ed5a939a3")=
(:commit . "a24ed5a939a32c625b034b0b6d7f46340c100394") (:url . "https://gi=
thub.com/emacsorphanage/htmlize")) nil)) (highlight-indent-guides #s(packag=
e-desc highlight-indent-guides (20260202 1243) "Minor mode to highlight ind=
entation." ((emacs (26 1))) nil nil "/Users/lucas/.emacs.d/elpa/highlight-i=
ndent-guides-20260202.1243" ((:maintainers ("Jen-Chieh Shen" . "jcs090218@g=
mail.com")) (:authors ("DarthFennec" . "darthfennec@HIDDEN")) (:keyw=
ords "convenience") (:revdesc . "802fb2eaf67e") (:commit . "802fb2eaf67ead7=
30d7e3483b9a1e9639705f267") (:url . "https://github.com/DarthFennec/highlig=
ht-indent-guides")) nil)) (groovy-mode #s(package-desc groovy-mode (2 1) "M=
ajor mode for Groovy source files." ((s (1 12 0)) (emacs (24 3)) (dash (2 1=
3 0))) nil nil "/Users/lucas/.emacs.d/elpa/groovy-mode-2.1" ((:maintainers =
("Russel Winder" . "russel@HIDDEN")) (:authors ("Russel Winder" . "r=
ussel@HIDDEN") ("Jim Morris" . "morris@HIDDEN") ("Wilfred Hughe=
s" . "me@HIDDEN")) (:keywords "languages") (:revdesc . "99eaf70720e4=
") (:commit . "99eaf70720e4a6337fbd5acb68ae45cc1779bdc4") (:url . "https://=
github.com/Groovy-Emacs-Modes/groovy-emacs-modes")) nil)) (go-mode #s(packa=
ge-desc go-mode (1 6 0) "Major mode for the Go programming language." ((ema=
cs (26 1))) nil nil "/Users/lucas/.emacs.d/elpa/go-mode-1.6.0" ((:keywords =
"languages" "go") (:revdesc . "v1.6.0-0-g3273fcece5d9") (:commit . "3273fce=
ce5d9ab7edd4f15b2d6bce61f4e5a0666") (:url . "https://github.com/dominikh/go=
-mode.el")) nil)) (ghub #s(package-desc ghub (5 0 4) "Client libraries for =
Git forge APIs." ((emacs (29 1)) (compat (30 1)) (cond-let (0 2)) (llama (1=
0)) (treepy (0 1 2))) nil nil "/Users/lucas/.emacs.d/elpa/ghub-5.0.4" ((:m=
aintainers ("Jonas Bernoulli" . "emacs.ghub@HIDDEN")) (:author=
s ("Jonas Bernoulli" . "emacs.ghub@HIDDEN")) (:keywords "tools=
") (:revdesc . "v5.0.4-0-gc22858596c1f") (:commit . "c22858596c1f5a1f5b439e=
475e7ba0e6a2e1718b") (:url . "https://github.com/magit/ghub")) nil)) (ghost=
el #s(package-desc ghostel (0 34 0) "Terminal emulator powered by libghostt=
y." ((emacs (28 1)) (compat (30 1 0 1))) nil nil "/Users/lucas/.emacs.d/elp=
a/ghostel-0.34.0" ((:maintainers ("Daniel Kraus" . "daniel@HIDDEN")) (:au=
thors ("Daniel Kraus" . "daniel@HIDDEN")) (:keywords "terminals") (:revde=
sc . "f7800f6430b6") (:commit . "f7800f6430b6ab85dbfc2db2129625e8a28ac17e")=
(:url . "https://github.com/dakra/ghostel")) nil)) (ggtags #s(package-desc=
ggtags (0 8 13) "Emacs frontend to GNU Global source code tagging system."=
((emacs (24)) (cl-lib (0 5))) nil nil "/Users/lucas/.emacs.d/elpa/ggtags-0=
.8.13" ((:maintainers ("Leo Liu" . "sdl.web@HIDDEN")) (:authors ("Leo Li=
u" . "sdl.web@HIDDEN")) (:keywords "tools" "convenience") (:revdesc . "1=
7a121af1b37") (:commit . "17a121af1b375a6a5c5acec52f2ffd2b9715d244") (:url =
. "https://github.com/leoliu/ggtags")) nil)) (frame-local #s(package-desc f=
rame-local (20180330 940) "Variables local to a frame." ((emacs (25 1))) ni=
l nil "/Users/lucas/.emacs.d/elpa/frame-local-20180330.940" ((:maintainers =
("Sebastien Chapuis" . "sebastien@HIDDEN")) (:authors ("Sebastien Chapuis=
" . "sebastien@HIDDEN")) (:keywords "frames" "tools" "local" "lisp") (:re=
vdesc . "51c088960262") (:commit . "51c0889602626e2dcc6f1c1a812b058bc96df03=
c") (:url . "https://github.com/sebastiencs/frame-local")) nil)) ...)
Stack trace is as follows:
Debugger entered--Lisp error: (circular-list ((ibuffer-projectile ...) (hyd=
ra ...) (htmlize ...) (highlight-indent-guides ...) (groovy-mode ...) (go-m=
ode ...) (ghub ...) (ghostel ...) (ggtags ...) (frame-local ...) (forge ...=
) (flyspell-correct-ivy ...) (flyspell-correct ...) (flycheck ...) (flx ...=
) (exec-path-from-shell ...) (emacsql ...) (eglot-java ...) (ebdb ...) (eat=
...) ...))
nconc((... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (... =
... ... ... ... ... ... ... ... ... ... ... ... ... ...))
(seq-filter #'(lambda (elt) (let ((available (package-get-descriptor (car=
elt) 'archive))) (and available (or (and include-builtins (not ...)) (vers=
ion-list-< (let* ... ...) (progn ... ...))) (not (package-vc-p (car ...))))=
)) (nconc (and include-builtins (package--builtin-alist)) (package--alist)))
(mapcar #'car (seq-filter #'(lambda (elt) (let ((available (package-get-d=
escriptor ... ...))) (and available (or (and include-builtins ...) (version=
-list-< ... ...)) (not (package-vc-p ...))))) (nconc (and include-builtins =
(package--builtin-alist)) (package--alist))))
package--upgradeable-packages(t)
(completing-read "Upgrade package: " (package--upgradeable-packages t) ni=
l t)
(intern (completing-read "Upgrade package: " (package--upgradeable-packag=
es t) nil t))
(list (intern (completing-read "Upgrade package: " (package--upgradeable-=
packages t) nil t)))
command-execute(package-upgrade record)
execute-extended-command(nil "package-upgrade" "package-up")
funcall-interactively(execute-extended-command nil "package-upgrade" "pac=
kage-up")
command-execute(execute-extended-command)
This issue has been present for the last few weeks that I have been running=
various points along the Emacs 31 branch. I have quite a few packages inst=
alled, including a mix pinned to various repositories using the use-package=
:pin keyword, as well as a small number installed using package-vc.
An identical configuration works fine in Emacs 30.2.
Reproduced using `emacs -Q` (obviously it was still discovering the same pa=
ckages in the elpa subdirectory of my emacs.d).
In GNU Emacs 31.0.90 (build 1, aarch64-apple-darwin25.5.0, NS
appkit-2685.60 Version 26.5.1 (Build 25F80)) of 2026-06-14 built on
LC-MBP-2021.local
Windowing system distributor 'Apple', version 10.3.2685
System Description: macOS 26.5.1
Configured using:
'configure --disable-dependency-tracking --disable-silent-rules
--enable-locallisppath=3D/opt/homebrew/share/emacs/site-lisp
--infodir=3D/opt/homebrew/Cellar/emacs-plus@31/31.0.90/share/info/emacs
--prefix=3D/opt/homebrew/Cellar/emacs-plus@31/31.0.90
--with-native-compilation=3Daot --with-xml2 --with-gnutls
--without-compress-install 'CFLAGS=3D-DFD_SETSIZE=3D10000
-DDARWIN_UNLIMITED_SELECT -I/opt/homebrew/opt/sqlite/include
-I/opt/homebrew/opt/gcc/include -I/opt/homebrew/opt/libgccjit/include'
--without-dbus --without-imagemagick --with-modules --with-rsvg
--with-webp --with-xwidgets --with-ns --disable-ns-self-contained
'LDFLAGS=3D-L/opt/homebrew/opt/sqlite/lib -L/opt/homebrew/lib/gcc/15
-Wl,-rpath,/opt/homebrew/lib/gcc/15''
Configured features:
ACL GIF GLIB GMP GNUTLS JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY
KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM XWIDGETS ZLIB
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-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
minibuffer-nonselected-mode: t
minibuffer-regexp-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug lisp-mnt message yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util text-property-search mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader sendmail mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils finder-inf package browse-url
xdg url url-proxy url-privacy url-expand url-methods url-history
url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs gv icons
password-cache json map url-vars package-activate comp-run bytecomp
byte-compile comp-common rx time-date subr-x cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine 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
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal kqueue cocoa
ns lcms2 multi-tty make-network-process tty-child-frames native-compile
emacs)
Memory information:
((conses 16 107288 9481) (symbols 48 8997 0) (strings 32 32116 1953)
(string-bytes 1 995073) (vectors 16 15833)
(vector-slots 8 206261 13645) (floats 8 30 6) (intervals 56 353 0)
(buffers 1064 12))
--=20
Lucas Christian
lucas@HIDDEN
Lucas Christian <lucas@HIDDEN>:bug-gnu-emacs@HIDDEN.
Full text available.bug-gnu-emacs@HIDDEN:bug#81242; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.