From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#57929: 29.0.50; package-quickstart.elc incompatible with Emacs 28.2 due to defvar-1 Date: Mon, 19 Sep 2022 05:56:39 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10829"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier To: 57929@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 19 11:57:14 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oaDWa-0002Y4-Q7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Sep 2022 11:57:12 +0200 Original-Received: from localhost ([::1]:46730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaDWZ-0004x8-JO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Sep 2022 05:57:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaDWR-0004u4-Hz for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2022 05:57:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53393) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaDWR-0000pl-7h for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2022 05:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaDWQ-0006zJ-4k; Mon, 19 Sep 2022 05:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: monnier@iro.umontreal.ca, bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Sep 2022 09:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57929 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.166358140526830 (code B ref -1); Mon, 19 Sep 2022 09:57:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Sep 2022 09:56:45 +0000 Original-Received: from localhost ([127.0.0.1]:52469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaDW9-0006yg-0l for submit@debbugs.gnu.org; Mon, 19 Sep 2022 05:56:45 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaDW7-0006yX-1D for submit@debbugs.gnu.org; Mon, 19 Sep 2022 05:56:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaDW6-0004pL-Rn for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2022 05:56:42 -0400 Original-Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]:43586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaDW4-0000nV-Td for bug-gnu-emacs@gnu.org; Mon, 19 Sep 2022 05:56:42 -0400 Original-Received: by mail-oi1-x233.google.com with SMTP id t62so13953019oie.10 for ; Mon, 19 Sep 2022 02:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date; bh=0I6fmMFMYXEj4NssnFsGVhsyq/892MwQN70YM8HfICg=; b=Ludwjra4goH1fy5+DZHUbW5SpY28elsvGXst3mzP8KEO2uER9fAH9/5xT7vEFZfUwm y3p26FMkaemRmSZ86D5QjWxUvfHYr7zdzXF2Ac+Rwf3cvDJ8XpTfp/x0XdmoNHVzzMXD c4ISQgn5xBbSYonD64Kpeap8/pepmI4GiQevLBAj3hVSUatAIlkoHORdKcvHXhG4/6YL lVBbFcVKtcnFtiTjqX3LqK4I1XuSKS7nSH7YTdvNAjSpRqYmYyw5HQJ/t8VEIuZQgSqy S2uJMHaj+l5c3Pfe6uxef/0O/6Xr4r08kf4NyGjxV6p0b1Vr22u0Xixx9baZ1di4doOk 8clw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date; bh=0I6fmMFMYXEj4NssnFsGVhsyq/892MwQN70YM8HfICg=; b=YtVsHEUKDQ597U9nbCOXeBO+ZeRt65ZCaGBZG48ZzHOSEBjZV2OHGl6s+lIO2N87LC yDSNzlsvFtoHRSAk8oLjzfym5txTDGK3JSGz9I5HWbYOsDMwVnwpUm58o9mMKvRB9GI8 OVqjjewpBM3Oo7J4tM17pVTVN1K7srU/hOM4F0TffVmfugpyskpx6EHck10T+1zcBdxF Z2XpYEMcbSKUOAWaJxKYSZ81CscTqRPZrRjqZ2gUmY04uOYKs3LgDbKZEZVz94/lJVDF BERYW/9gbxTuQC6r/p6DoS1Zoli52HDwUTrOtxyjIIkMPQsrTcvS7VE6cP9fO9Efr8bd MeTg== X-Gm-Message-State: ACgBeo12KEj3yb7i5mdxUX9sGRcY24jG7NvYuPU0dgVsJ1FWvmBT0In8 6VAOzr8O6G3l6yGjxlYfZ+EV/PN+FNLd7phHpejxiJuK X-Google-Smtp-Source: AA6agR50TjTwZ9K72RlSpbv9KCFuw4z0Hjse9xmX8fgkebFr1b+rBhpTrfYB5cL/DpL2Kyi2T226u+WVOvzOh4UmvQI= X-Received: by 2002:a05:6808:1688:b0:345:ea9a:2954 with SMTP id bb8-20020a056808168800b00345ea9a2954mr11846477oib.199.1663581399511; Mon, 19 Sep 2022 02:56:39 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 19 Sep 2022 05:56:39 -0400 Received-SPF: pass client-ip=2607:f8b0:4864:20::233; envelope-from=stefankangas@gmail.com; helo=mail-oi1-x233.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, FREEMAIL_FROM=0.001, 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:243064 Archived-At: It seems like the package-quickstart.elc is now backwards-incompatible since defvar-1 is missing. I guess this is a known issue whenever we change things like this, but I thought it was worth pointing out since it bit me. I had to delete package-quickstart.elc to use Emacs 28 with packages. Steps to reproduce: 0. mv ~/.emacs.d/elpa{,old} [Using Emacs 29.0.50] 1. ${MASTER}/emacs -Q --batch --eval "(progn (package-initialize) \ (package-install 'yasnippet-snippets) \ (package-quickstart-refresh))" [Using Emacs 28.2] 2. ${EMACS28}/emacs -Q --eval '(progn (toggle-debug-on-error) \ (package-initialize))' Result: Debugger entered--Lisp error: (void-function defvar-1) defvar-1(yas-global-mode nil "Non-nil if Yas-Global mode is enabled.\nSee the `ya...") byte-code("\304\211\30\31\305\302\306\307\304!\206\17\0\n@!\"\210\310\311\312\313\314$\210\315\316\317\314#\210\320\316\321\322#\210\323\316\312\321#\210\310\316\312\324\314$\210..." [load-file-name load-true-file-name load-path package-activated-list "/home/skangas/.emacs.d/elpa/yasnippet-0.14.0/yasni..." add-to-list directory-file-name file-name-directory autoload yas-minor-mode "yasnippet" "Toggle YASnippet mode.\n\nWhen YASnippet mode is ena..." t put yas-global-mode globalized-minor-mode defvar-1 nil "Non-nil if Yas-Global mode is enabled.\nSee the `ya..." custom-autoload "Toggle Yas minor mode in all buffers.\nWith prefix ..." snippet-mode "A mode for editing yasnippets" register-definition-prefixes ("help-snippet-def" "snippet-mode-map" "yas") provide yasnippet-autoloads "/home/skangas/.emacs.d/elpa/yasnippet-snippets-1.0..." yasnippet-snippets-initialize "yasnippet-snippets" "Load the `yasnippet-snippets' snippets directory." eval-after-load yasnippet #f(compiled-function () #) ("yasnippet-snippets-") yasnippet-snippets-autoloads delete-dups append (yasnippet yasnippet-snippets)] 6) load("~/.emacs.d/package-quickstart.elc" nil nomessage) package-activate-all() package-initialize() (progn (toggle-debug-on-error) (package-initialize)) command-line-1(("--eval" "(progn (toggle-debug-on-error) (package-initialize...")) command-line() normal-top-level() In GNU Emacs 28.2.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2022-09-16 built on joffe Repository revision: d04ba5ec73b15cb481859434e5dd1b91eb581803 Repository branch: emacs-28 Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: sv_SE.UTF-8 value of $LC_TIME: C 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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort hashcash mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd 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 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 composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 77702 7444) (symbols 48 7876 1) (strings 32 22191 3539) (string-bytes 1 770393) (vectors 16 17490) (vector-slots 8 308076 13362) (floats 8 29 38) (intervals 56 204 0) (buffers 992 11))