From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#63742: 30.0.50; [BUG] package.el having a hard time Date: Sat, 27 May 2023 11:10:24 +0800 Message-ID: Reply-To: Ruijie Yu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4988"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.9.22; emacs 30.0.50 To: 63742@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 27 05:11:16 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 1q2kKp-000185-UE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 May 2023 05:11:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2kKe-00063X-4Q; Fri, 26 May 2023 23:11:04 -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 1q2kKc-00063L-Tv for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 23:11:02 -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 1q2kKc-0007bi-MC for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 23:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2kKc-0008PQ-HE for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 23:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 May 2023 03:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63742 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168515704332289 (code B ref -1); Sat, 27 May 2023 03:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 May 2023 03:10:43 +0000 Original-Received: from localhost ([127.0.0.1]:51142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2kKJ-0008Oj-6U for submit@debbugs.gnu.org; Fri, 26 May 2023 23:10:43 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2kKH-0008OW-LQ for submit@debbugs.gnu.org; Fri, 26 May 2023 23:10:42 -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 1q2kKH-00060p-BZ for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 23:10:41 -0400 Original-Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2kKF-0007ZC-F4 for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 23:10:41 -0400 Original-Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 00bb8f69 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Sat, 27 May 2023 03:10:35 +0000 (UTC) Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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:262457 Archived-At: Hello, I have recompiled Emacs master yesterday, but this build has had a hard time processing my init.el file (saying that PKG-pkg.el files are not found, where they indeed are). I wasn't able to reproduce this exact problem, but upon digging further, I found one issue which I can reproduce it reliably in -Q environment, and which is probably related to the other unreproducible issue. $ cd $(mktemp -d) $ HOME=3D$PWD XDG_CONFIG_HOME=3D$HOME/.config emacs -Q M-x package-initialize RET M-x list-packages RET ;; And wait for it to finish listing packages from gnu and nongnu / n xr RET ;; find some package to install, any package suffices i x SPC ;; Install it Observe the error message shown in the minibuffer. The following is the full message from trying to install the package. --8<---------------cut here---------------start------------->8--- Packages to install: 1 (xr-1.23). Proceed? (y or n) y Operation [ Install 1 ] started Setting =E2=80=98package-selected-packages=E2=80=99 temporarily since "emac= s -q" would overwrite customizations Contacting host: elpa.gnu.org:443 [2 times] Parsing tar file...done Extracting...done INFO Scraping files for loaddefs...done GEN xr-autoloads.el package-unpack: Wrong type argument: package-desc, nil --8<---------------cut here---------------end--------------->8--- In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-05-26 built on ruijie Repository revision: bb7605c087006b714236165f88341545355d3673 Repository branch: makepkg System Description: Arch Linux Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --mandir=3D/usr/share/man --with-gameuser=3D:games --with-modules --without-libotf --without-m17n-flt --without-gconf --enable-link-time-optimization --with-native-compilation=3Daot --with-xinput2 --with-pgtk --without-xaw3d --with-sound=3Dalsa --with-tree-sitter '--program-transform-name=3Ds/\([ec]tags\)/\1.emacs/' 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-security -fstack-clash-protection -fcf-protection' LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dfcitx locale-coding-system: utf-8-unix --=20 Best, RY