From unknown Tue Jun 17 01:35:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63742: 30.0.50; [BUG] package.el having a hard time 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-GNU-PR-Keywords: To: 63742@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168515704332289 (code B ref -1); Sat, 27 May 2023 03:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 May 2023 03:10:43 +0000 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 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 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 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 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) User-agent: mu4e 1.9.22; emacs 30.0.50 From: Ruijie Yu Date: Sat, 27 May 2023 11:10:24 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Spam-Score: 0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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 From unknown Tue Jun 17 01:35:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63742: 30.0.50; [BUG] package.el having a hard time Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 May 2023 05:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 63742@debbugs.gnu.org Cc: ruijie@netyu.xyz X-Debbugs-Original-To: Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Ruijie Yu , 63742@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168516424215014 (code B ref -1); Sat, 27 May 2023 05:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 May 2023 05:10:42 +0000 Received: from localhost ([127.0.0.1]:51206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2mCQ-0003u6-Cp for submit@debbugs.gnu.org; Sat, 27 May 2023 01:10:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:35752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2mCO-0003tx-OA for submit@debbugs.gnu.org; Sat, 27 May 2023 01:10:41 -0400 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 1q2mCN-0001Vo-6i for bug-gnu-emacs@gnu.org; Sat, 27 May 2023 01:10:39 -0400 Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2mCJ-0001iZ-UQ for bug-gnu-emacs@gnu.org; Sat, 27 May 2023 01:10:37 -0400 From: Eshel Yaron DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1685164234; bh=CUCBD4Yqd4HYuh9J+BB7u5nKo1/HukhbHATkWFKaUZA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=u+5Fs1MEEBLlX0VuEBRo6bVn2A8TV5l9tLvKn+1eaSKyXsjB8wh/xc86YIs2pbHiC 5fCC7BHR7JM88zTGtQepLS13XOLyyRvRDtYT9z7/OFJ/dALLH1X8Rb3pntbJ7JV0AC 6ikofjuMI8ytzETvCa/w4dxaQDJ8zm9e2N3kWBimyXKDekYCWX4FbxgZ0Cs9AnBKvb uSXBAdJa5RkW/RzPdGj3QYRtDEyOra3blzE4x2RQDOCPG6ZOwPuoUSIB8ZH5a/fIPn IZriaLg8CCbrVqnHR/WF+KeOhT0vie4FvrB4kKKZ5iBZx1G0SrT4QpG4SYg+RdGsWL n5aB0jmlIutrQ== In-Reply-To: (Ruijie Yu via's message of "Sat, 27 May 2023 11:10:24 +0800") References: Date: Sat, 27 May 2023 08:10:31 +0300 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > package-unpack: Wrong type argument: package-desc, nil I've had this issue as well since rebuilding Emacs yesterday from the master branch. AFAICT the issue is that `package-load-descriptor` returns `nil` instead of a valid package descriptor when called in `package-unpack`. Curiously, when I evaluate the definition of `package-load-descriptor` (with C-M-x) it starts behaving correctly and the issue goes away. Perhaps this is a native compilation problem? From unknown Tue Jun 17 01:35:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63742: 30.0.50; [BUG] package.el having a hard time Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 May 2023 05:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eshel Yaron Cc: 63742@debbugs.gnu.org Received: via spool by 63742-submit@debbugs.gnu.org id=B63742.168516510216643 (code B ref 63742); Sat, 27 May 2023 05:26:02 +0000 Received: (at 63742) by debbugs.gnu.org; 27 May 2023 05:25:02 +0000 Received: from localhost ([127.0.0.1]:51215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2mQI-0004KM-2A for submit@debbugs.gnu.org; Sat, 27 May 2023 01:25:02 -0400 Received: from netyu.xyz ([152.44.41.246]:55838 helo=mail.netyu.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2mQG-0004K3-JN for 63742@debbugs.gnu.org; Sat, 27 May 2023 01:25:01 -0400 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 2029566b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 27 May 2023 05:24:58 +0000 (UTC) References: User-agent: mu4e 1.9.22; emacs 30.0.50 From: Ruijie Yu Date: Sat, 27 May 2023 13:22:35 +0800 In-reply-to: Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eshel Yaron writes: > Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text > editors" writes: > >> package-unpack: Wrong type argument: package-desc, nil > > I've had this issue as well since rebuilding Emacs yesterday from the > master branch. AFAICT the issue is that `package-load-descriptor` > returns `nil` instead of a valid package descriptor when called in > `package-unpack`. > > Curiously, when I evaluate the definition of `package-load-descriptor` > (with C-M-x) it starts behaving correctly and the issue goes away. > Perhaps this is a native compilation problem? Probably. Interestingly, my other issue (which waws unreproducible and hence not described in my other message) apparently went away when I byte-compiled the problematic file. -- Best, RY From unknown Tue Jun 17 01:35:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63742: 30.0.50; [BUG] package.el having a hard time Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 May 2023 06:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ruijie Yu , Andrea Corallo Cc: 63742@debbugs.gnu.org Received: via spool by 63742-submit@debbugs.gnu.org id=B63742.16851694432100 (code B ref 63742); Sat, 27 May 2023 06:38:02 +0000 Received: (at 63742) by debbugs.gnu.org; 27 May 2023 06:37:23 +0000 Received: from localhost ([127.0.0.1]:51282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2nYJ-0000Xn-AY for submit@debbugs.gnu.org; Sat, 27 May 2023 02:37:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2nYH-0000XW-2A; Sat, 27 May 2023 02:37:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2nYA-0000h4-8K; Sat, 27 May 2023 02:37:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=C4im0cbbWcJrI4wuwfCBRS0l2KHDUqXbbuWxUzD/1Tg=; b=q1R3lCX/RJxB480SXqN6 f15L2p57QCVfCeUdMAfgrAVvy276rSGH02pRyIgkei5hZIZ91PYOCRiG/eRx7XQnaDeJ3Ml9Fge3D F7A+nGPPZrRJcP+0PTTPpMm6vO7AYev6Xa3GWWOSN9nZjC0sJ2hE42tnuVPVDLYeHYL9ayke6/egD 7MHLe0XX4w1TNs0Lb6muVWEMXTdw3wqS2tgDA/GzIWHvdC4Gq1nvHJVSlrrvSjByMSPBw7bic9cgj aiGntlZ/c+d4nUQrt1MeXk4wotHpKK0JbvapnynuKaKWFBKYHvGWRNYwIxWpk+ODOFZAp73+sHpbM dgc8E3Z1+Cg5zw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2nY9-0001zC-Lv; Sat, 27 May 2023 02:37:14 -0400 Date: Sat, 27 May 2023 09:37:47 +0300 Message-Id: <83bki6jn44.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (bug-gnu-emacs@gnu.org) References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 63742 63679 63716 63710 thanks > Date: Sat, 27 May 2023 11:10:24 +0800 > From: Ruijie Yu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > 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=$PWD XDG_CONFIG_HOME=$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 ‘package-selected-packages’ temporarily since "emacs -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--- Does the problem go away if you rebuild without native-compilation? If yes, this is a known problem (bug#63679), and Andrea (CC'ed) is aware of that, I think. From unknown Tue Jun 17 01:35:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63742: 30.0.50; [BUG] package.el having a hard time Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 May 2023 11:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 63742@debbugs.gnu.org, Andrea Corallo Received: via spool by 63742-submit@debbugs.gnu.org id=B63742.168518684416276 (code B ref 63742); Sat, 27 May 2023 11:28:02 +0000 Received: (at 63742) by debbugs.gnu.org; 27 May 2023 11:27:24 +0000 Received: from localhost ([127.0.0.1]:51473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2s4y-0004ES-9H for submit@debbugs.gnu.org; Sat, 27 May 2023 07:27:24 -0400 Received: from netyu.xyz ([152.44.41.246]:56354 helo=mail.netyu.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2s4x-0004EJ-5G for 63742@debbugs.gnu.org; Sat, 27 May 2023 07:27:23 -0400 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id ce29afe5 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 27 May 2023 11:27:21 +0000 (UTC) References: <83bki6jn44.fsf@gnu.org> User-agent: mu4e 1.9.22; emacs 30.0.50 From: Ruijie Yu In-reply-to: <83bki6jn44.fsf@gnu.org> Date: Sat, 27 May 2023 19:27:07 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: > merge 63742 63679 63716 63710 > thanks > >> $ cd $(mktemp -d) >> $ HOME=$PWD XDG_CONFIG_HOME=$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. >> > Does the problem go away if you rebuild without native-compilation? > If yes, this is a known problem (bug#63679), and Andrea (CC'ed) is > aware of that, I think. Indeed, this problem goes away if I rebuild without native-compilation. To minimize changes, I used the same commit (bb7605c), and used the same config options except for native comp. --8<---------------cut here---------------start------------->8--- 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-modules --without-libotf --without-m17n-flt --without-gconf --enable-link-time-optimization --with-native-compilation=no --with-xinput2 --with-pgtk --without-xaw3d --with-sound=alsa --with-tree-sitter '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' --8<---------------cut here---------------end--------------->8--- By the way, do we have a bisect for this, where we know what revision(s) introduced this issue? If not, (and if I have time during the weekend,) I can try to bisect it. And in the meantime, I'll sit on all my known-good builds until this issue is fixed. Some data points: - known good version (the build I'm using to send this message): "fa598571adab4858282f337b45984517e197f8a9" - known bad version (the build where I observed the reported issues): "bb7605c087006b714236165f88341545355d3673" -- Best, RY From unknown Tue Jun 17 01:35:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63742: 30.0.50; [BUG] package.el having a hard time Resent-From: Ruijie Yu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 May 2023 05:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ruijie Yu Cc: Eli Zaretskii , 63742@debbugs.gnu.org, Andrea Corallo Received: via spool by 63742-submit@debbugs.gnu.org id=B63742.168525001130920 (code B ref 63742); Sun, 28 May 2023 05:01:02 +0000 Received: (at 63742) by debbugs.gnu.org; 28 May 2023 05:00:11 +0000 Received: from localhost ([127.0.0.1]:52929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q38Vm-00082d-Ip for submit@debbugs.gnu.org; Sun, 28 May 2023 01:00:10 -0400 Received: from netyu.xyz ([152.44.41.246]:53360 helo=mail.netyu.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q38Vi-00081K-CV for 63742@debbugs.gnu.org; Sun, 28 May 2023 01:00:09 -0400 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id c05e4901 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 28 May 2023 05:00:05 +0000 (UTC) References: <83bki6jn44.fsf@gnu.org> User-agent: mu4e 1.9.22; emacs 30.0.50 From: Ruijie Yu Date: Sun, 28 May 2023 12:53:53 +0800 In-reply-to: Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain >> Does the problem go away if you rebuild without native-compilation? >> If yes, this is a known problem (bug#63679), and Andrea (CC'ed) is >> aware of that, I think. > > Indeed, this problem goes away if I rebuild without native-compilation. > To minimize changes, I used the same commit (bb7605c), and used the same > config options except for native comp. > > 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib > --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games > --with-modules --without-libotf --without-m17n-flt --without-gconf > --enable-link-time-optimization --with-native-compilation=no > --with-xinput2 --with-pgtk --without-xaw3d --with-sound=alsa > --with-tree-sitter '--program-transform-name=s/\([ec]tags\)/\1.emacs/' > 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions > -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security > -fstack-clash-protection -fcf-protection' > LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' > > By the way, do we have a bisect for this, where we know what revision(s) > introduced this issue? If not, (and if I have time during the weekend,) > I can try to bisect it. And in the meantime, I'll sit on all my > known-good builds until this issue is fixed. > > Some data points: > > - known good version (the build I'm using to send this message): > "fa598571adab4858282f337b45984517e197f8a9" > > - known bad version (the build where I observed the reported issues): > "bb7605c087006b714236165f88341545355d3673" Here is the bisect result. --8<---------------cut here---------------start------------->8--- b2b2be98da5825e6bc130999ffe38f5ed615586a is the first bad commit commit b2b2be98da5825e6bc130999ffe38f5ed615586a Author: Andrea Corallo Date: Wed May 24 17:05:26 2023 +0200 Fix nativecomp ICE compiling structure related code (bug#63674) * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Define the predicate to be effective at compile time as native comp relies on `cl-typep' that relies o predicates to work. * test/src/comp-resources/comp-test-funcs.el (cl-lib): Require. (comp-test-struct): Define struct. (comp-test-63674-1-f): Add new test. lisp/emacs-lisp/cl-macs.el | 9 ++++++--- test/src/comp-resources/comp-test-funcs.el | 8 ++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) bisect found first bad commit --8<---------------cut here---------------end--------------->8--- What I did: $ git bisect start bb7605c087006b714236165f88341545355d3673 fa598571adab4858282f337b45984517e197f8a9 $ git bisect run sh repro.sh With the attached files as reproducer. Hope this helps. Oh, by the way, while inspecting my reproducer scripts I noticed that I forgot to add -Q -- I really hope this does not bite me since git-bisect-run took a few hours to finish. --=-=-= Content-Type: application/x-sh Content-Disposition: attachment; filename=make.sh Content-Transfer-Encoding: base64 IyEvYmluL3NoCm1ha2UgZXh0cmFjbGVhbgptYWtlIFwKICAgIGNvbmZpZ3VyZT0nLS1wcmVmaXg9 L3VzciAtLXN5c2NvbmZkaXI9L2V0YyAtLWxpYmV4ZWNkaXI9L3Vzci9saWIgLS1sb2NhbHN0YXRl ZGlyPS92YXIgLS1tYW5kaXI9L3Vzci9zaGFyZS9tYW4gLS13aXRoLWdhbWV1c2VyPTpnYW1lcyAt LXdpdGgtbW9kdWxlcyAtLXdpdGhvdXQtbGlib3RmIC0td2l0aG91dC1tMTduLWZsdCAtLXdpdGhv dXQtZ2NvbmYgLS1lbmFibGUtbGluay10aW1lLW9wdGltaXphdGlvbiAtLXdpdGgtbmF0aXZlLWNv bXBpbGF0aW9uPWFvdCAtLXdpdGgteGlucHV0MiAtLXdpdGgtcGd0ayAtLXdpdGhvdXQteGF3M2Qg LS13aXRoLXNvdW5kPWFsc2EgLS13aXRoLXRyZWUtc2l0dGVyIC0tcHJvZ3JhbS10cmFuc2Zvcm0t bmFtZT1zL1woW2VjXXRhZ3NcKS9cMS5lbWFjcy8nIFwKICAgIENGTEFHUz0nLW1hcmNoPXg4Ni02 NCAtbXR1bmU9Z2VuZXJpYyAtTzIgLXBpcGUgLWZuby1wbHQgLWZleGNlcHRpb25zIC1XcCwtRF9G T1JUSUZZX1NPVVJDRT0yIC1XZm9ybWF0IC1XZXJyb3I9Zm9ybWF0LXNlY3VyaXR5IC1mc3RhY2st Y2xhc2gtcHJvdGVjdGlvbiAtZmNmLXByb3RlY3Rpb24nIFwKICAgIExERkxBR1M9Jy1XbCwtTzEs LS1zb3J0LWNvbW1vbiwtLWFzLW5lZWRlZCwteixyZWxybywteixub3cnIHx8IGV4aXQgMTI1Cg== --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=repro.el ;; -*- lexical-binding: t; -*- (package-initialize) (package-install 'xr) --=-=-= Content-Type: application/x-sh Content-Disposition: attachment; filename=repro.sh Content-Transfer-Encoding: base64 IyEvYmluL3NoCnNoIG1ha2Uuc2gKc2ggcnVuLnNoCg== --=-=-= Content-Type: application/x-sh Content-Disposition: attachment; filename=run.sh Content-Transfer-Encoding: base64 IyEvYmluL3NoCnJtIC1yZiBlCm1rZGlyIC1wIGUvYwpIT01FPSIkKHJlYWxwYXRoIGUpIiBYREdf Q09ORklHX0hPTUU9IiQocmVhbHBhdGggZS9jKSIgXAogICAgc3JjL2VtYWNzIFwKICAgIC1iYXRj aCAtbCByZXByby5lbCB8fCBleGl0IDEK --=-=-= Content-Type: text/plain -- Best, RY --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 13:45:52 2023 Received: (at control) by debbugs.gnu.org; 28 May 2023 17:45:52 +0000 Received: from localhost ([127.0.0.1]:54628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3KSk-0000PM-GX for submit@debbugs.gnu.org; Sun, 28 May 2023 13:45:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3GOW-0001oz-6S for control@debbugs.gnu.org; Sun, 28 May 2023 09:25:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3GOQ-0000fy-OB for control@debbugs.gnu.org; Sun, 28 May 2023 09:25:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=q0hJ/wyzt5OQ5sqFoP4e5+iLTjVjin3fw3avmA9MkMU=; b=lxbuTmDnBToRs0 z4QeIIiUHWyyDlOoZDI+faFfvEhodgs3jRaf2pAAJ+R1KbcvJrn+xAuvIuBBcv4NnZJbAJFtaZFUp h3kRarUquuGNDaFL+MWXpWnZzCdLfF8xICllivqd1Ex5OaHgzlksPpNn3n34kbNWqGciqdoY5k+Zp QFyYle9mAo3AD7UjRchpkUPOUGizM5f7vkUbraBK2dPFz6ZvBhbC3bl1+Hv15t03nsWCC/D6uZPgV 3/s4Ylk8eVxXJjycvLQk286amW59CR91I6rRvXfd2be/zSlRuDDki7x5jdC0wVmm2iI76HdjpwR1l l05qnSlyUrLbN+C5fQFg==; Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1q3GOH-00026C-3T for control@debbugs.gnu.org; Sun, 28 May 2023 09:25:06 -0400 From: Andrea Corallo To: control@debbugs.gnu.org Subject: control message for bug #63674 Date: Sun, 28 May 2023 09:24:57 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-Mailman-Approved-At: Sun, 28 May 2023 13:45:49 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 63710 63742 quit