From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Basil Contovounesios via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63260: 29.0.90; Regression installing/activating packages without autoloads Date: Thu, 04 May 2023 12:15:15 +0200 Message-ID: <87ild8tnbg.fsf@tcd.ie> Reply-To: Basil Contovounesios Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5582"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic To: 63260@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 04 12:16:19 2023 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 1puW0Y-0001Fn-Sn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 May 2023 12:16:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puW0M-0006BD-4t; Thu, 04 May 2023 06:16:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puW0K-0006B4-8s for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 06:16:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puW0K-000314-0K for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 06:16:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puW0I-0003zw-RL; Thu, 04 May 2023 06:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Basil Contovounesios Original-Sender: "Debbugs-submit" Resent-CC: philipk@posteo.net, bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 May 2023 10:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63260 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Philip Kaludercic Original-Received: via spool by submit@debbugs.gnu.org id=B.168319533315313 (code B ref -1); Thu, 04 May 2023 10:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 May 2023 10:15:33 +0000 Original-Received: from localhost ([127.0.0.1]:48617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puVzo-0003yu-7B for submit@debbugs.gnu.org; Thu, 04 May 2023 06:15:32 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puVzi-0003yj-W6 for submit@debbugs.gnu.org; Thu, 04 May 2023 06:15:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puVzi-0005lV-PV for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 06:15:26 -0400 Original-Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puVze-0002iw-It for bug-gnu-emacs@gnu.org; Thu, 04 May 2023 06:15:26 -0400 Original-Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-64115eef620so11190995b3a.1 for ; Thu, 04 May 2023 03:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; t=1683195319; x=1685787319; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=4XUqSEZ0DiT48XAkKO40R6wpm0nKug91rasftepW13Q=; b=fxQ5k+mFXYBhmKupuSr9PaJ6F/EU04pOjvbqt76NNYyVD5U/ov8RJxZ7bCDthz3iaA Gdcpd80CmeIFtrQjtXQtaCedEEQMJa711YzbXk/0QzpQaW8hXgXFV2PkQzwo4tkkznC8 fZcONdlD9AkAMw4OsQKcMZY9YTaueksUANIEs7Ykt+lWpHwzZVYa6EYCwLU+cR5HvfBW +xl1lkoC3kpxpYgBnZ6rtPaasD4S2NeiA2Cv2Up0jNP9t/qP+RNg4DXzuWxby9th2ylN bCwtsDB8A4Faq/a2+zXgcV7Fy/gOCz2P59up2Rhyu3V4AqylGDIZ/mILcZ1c+84IjODf blTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683195319; x=1685787319; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4XUqSEZ0DiT48XAkKO40R6wpm0nKug91rasftepW13Q=; b=dgljKLBMbzF2EDB+M5xNkhWVA+DIJq0AcKnpwK7Gbrz87790oEXWblJ3Jk3K6JgODD FkTYndripVDwkbWKLALzONk4QLF1eXaFEn9I/7/po1ANhkcZ4pccJxQcHncy/AbCu1I9 XhmL7kxgRDkcGBOIgxTDBlMzuferIE9XrcVQBuhhKNTw2D3gkLCfJDcloZsESiG9lwkl yPE+rUUBQZbQSD/JwVjclWsna7cGhF+BlEaYKsFbmnM9/LN3G5VM9xb+1sAI2ilyCU90 Roj3LB8Hyk8ncG9/0qJhB+azDUajk6kpYsNH6QSWkITpQRcQ+Vczt21xqumYFoKZL1IV lXXQ== X-Gm-Message-State: AC+VfDw7uvR7gZ5/S5Bal5+Y5qEIhyCSOY1z00y6LJbjq/rr/qTtNDEQ dlSEIY4FxtuosH3KlctoPT//TBweXMdAQX74mR2/Ag== X-Google-Smtp-Source: ACHHUZ6j2Wx/bmGatgv5g40tYCQi5kcOnm7ubOUL7LxfbNw7VmZs/d2Gr6CkFLQdEGqNzLLsniw5dA== X-Received: by 2002:a17:902:bd95:b0:1a6:e564:6044 with SMTP id q21-20020a170902bd9500b001a6e5646044mr2648658pls.7.1683195319137; Thu, 04 May 2023 03:15:19 -0700 (PDT) Original-Received: from localhost ([162.210.129.5]) by smtp.gmail.com with ESMTPSA id g13-20020a170902868d00b001a221d14179sm23074502plo.302.2023.05.04.03.15.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 03:15:18 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=contovob@tcd.ie; helo=mail-pf1-x435.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, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261008 Archived-At: This change: Prevent generating empty autoload files dd21003878d 2023-04-30 18:42:58 +0200 https://git.sv.gnu.org/cgit/emacs.git/commit/?id=dd21003878d seems to have reintroduced the following issue: https://lists.gnu.org/r/emacs-devel/2022-06/msg00563.html First start Emacs 29 (or 30) with a clean slate: $ cd "$(mktemp --directory)" $ export HOME="${PWD}" XDG_CONFIG_HOME="${PWD}/.config" $ emacs Then try to install the sicp package (which lacks autoloads) from MELPA: 0. C-x b RET 1. (setq package-archives '(("melpa" . "https://melpa.org/packages/"))) C-x C-e 2. M-x package-install RET sicp RET 3. C-h e 4. C-M-S-v Observe that *Messages* contains the line: Error loading autoloads: (file-missing Cannot open load file No such file or directory /tmp/tmp.5GvMpPatMo/.emacs.d/elpa/sicp-20200512.1137/sicp-autoloads) 5. M-x toggle-debug-on-error RET 6. M-x package-quickstart-refresh RET This fails with: Debugger entered--Lisp error: (wrong-type-argument stringp nil) insert-file-contents(nil) package-quickstart-refresh() funcall-interactively(package-quickstart-refresh) call-interactively(package-quickstart-refresh record nil) command-execute(package-quickstart-refresh record) execute-extended-command(nil "package-quickstart-refresh" "package-quick") funcall-interactively(execute-extended-command nil "package-quickstart-refresh" "package-quick") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) The file-missing error also appears on subsequent Emacs startup. Thanks, -- Basil In GNU Emacs 29.0.90 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2023-05-04 built on blc Repository revision: dd21003878dadba1e0420269e63e10685d4670a9 Repository branch: HEAD Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Ubuntu 22.04.2 LTS Configured using: 'configure CC=gcc-12 'CFLAGS=-Og -ggdb3' --prefix=/home/bic/.local --with-program-suffix=-29 --with-file-notification=yes --with-x --with-x-toolkit=lucid' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MONETARY: en_IE.UTF-8 value of $LC_NUMERIC: en_IE.UTF-8 value of $LC_TIME: en_IE.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: tooltip-mode: t global-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 buffer-read-only: 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 help-fns cl-print debug backtrace help-mode find-func compile comint ansi-osc ansi-color ring info loaddefs-gen lisp-mnt radix-tree tar-mode arc-mode archive-mode cus-edit pp cus-start cus-load icons wid-edit mm-archive message sendmail yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util text-property-search time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils gnutls network-stream url-cache url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny epg rfc6068 epg-config finder-inf package browse-url 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 password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv 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 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 282927 159473) (symbols 48 16620 1) (strings 32 98218 50117) (string-bytes 1 2278870) (vectors 16 25526) (vector-slots 8 346646 26540) (floats 8 46 357) (intervals 56 468 3) (buffers 984 15))