From unknown Thu Jun 19 14:04:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63681 <63681@debbugs.gnu.org> To: bug#63681 <63681@debbugs.gnu.org> Subject: Status: build error from native-comp: void function ("emacs-lisp/package.el" package-desc-p) Reply-To: bug#63681 <63681@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:04:18 +0000 retitle 63681 build error from native-comp: void function ("emacs-lisp/pack= age.el" package-desc-p) reassign 63681 emacs submitter 63681 Vitaly Ankh severity 63681 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 24 07:54:32 2023 Received: (at submit) by debbugs.gnu.org; 24 May 2023 11:54:32 +0000 Received: from localhost ([127.0.0.1]:42396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1n4Z-0002Cr-EO for submit@debbugs.gnu.org; Wed, 24 May 2023 07:54:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:57880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1k06-0007rk-4D for submit@debbugs.gnu.org; Wed, 24 May 2023 04:37: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 1q1k05-0003kD-QB for bug-gnu-emacs@gnu.org; Wed, 24 May 2023 04:37:41 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1k03-00009n-V2 for bug-gnu-emacs@gnu.org; Wed, 24 May 2023 04:37:41 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-64d3fbb8c1cso630311b3a.3 for ; Wed, 24 May 2023 01:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684917457; x=1687509457; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MbIan5da3/bVfmSSF9ecex4ip/jiwJgIjKo9KAqtBLI=; b=BHouw4iBOZ9IoXG0I2Gziw4fpOGyYT9mDr7CVVqr2MmkO9cjPaLyHhGASJzAR+jCgi tzwd6tjB3WLmEMmflVBUeD9gORt8bt2IL+3jg3gYujLauSO2XQ7L+isnGnbTWBpgqG30 x35C7mJzYf27KVOfz1S8u3Z9rUIp7N/he+fzaDrmJTGGJ/BvA7KdxJ0XZqBxaxP6hkTH A/mkQOdTEScyeogLN1FrNe/YH3iOk8A1tX6+/qJv5Sqyh2f5n088HNbJ01CewCR+04HH mHnqGOa6OZulQPpyWHBZxzqGop5VJEVpt+sOKObhD8J0gau4soiG6dDRYlZlKeGgKiJP ySUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684917457; x=1687509457; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MbIan5da3/bVfmSSF9ecex4ip/jiwJgIjKo9KAqtBLI=; b=TPMfpfAi6QRy0aICWiN4oOO3brtoze9F6+ZLmmc/deRp2aAScu4XLqGIFZEc4LYnoG l9SYYobBt8YzYS+lPml0r6HZGeU6YIga8VAVbIh7nx2J+bYrO1Qk0zA6Ke2ZhoyTTYQ9 MwZcBwn6rScPQsE3F+ydgXGdOJcKf3DIV72/4DU8LrpJhiRcWiuPfPnMHHhJJeZ4d5mI oJgZN0r1Y7tuGgoXEZPR/FuXrArlgkjvUyMlCdxpXRyUpPR8v0QJuraa3qJT+F7UM5EP 163/1UoH7sAsZl+1ZuzHzHCZtLdDT14C2Fp1ucWQwdyoLvbr477bLDSGO8mSfybM9uGU hZeQ== X-Gm-Message-State: AC+VfDyBMlZqpe6RptyoeDyn8vK6l9ydh8qHFm/Bao66PfyP494o+MQt UKxs1015OurhDWAemOtQRjFL8CifGhB7g/wLlErk/043IgiflinS X-Google-Smtp-Source: ACHHUZ5Bnus0cDSgq14K8IqnEtFldaBvPNZIISSkQqETCYQoZMuyD7JKJGxEpKOwc/A9DiPupUpMXXrR7CsdObuqlck= X-Received: by 2002:a17:903:22cd:b0:1a6:71b1:a0b9 with SMTP id y13-20020a17090322cd00b001a671b1a0b9mr19950385plg.47.1684917457416; Wed, 24 May 2023 01:37:37 -0700 (PDT) MIME-Version: 1.0 From: Vitaly Ankh Date: Wed, 24 May 2023 16:37:25 +0800 Message-ID: Subject: build error from native-comp: void function ("emacs-lisp/package.el" package-desc-p) To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=vitalyankh@gmail.com; helo=mail-pf1-x430.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 24 May 2023 07:54:30 -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: -2.3 (--) Hi emacs, With the latest emacs lisp native compiler change (https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D92ccb6ba83076a40f= 3bfc7906913346a5b3a7a92 and subsequent commits), there is a build error: ``` Error: void-function ("emacs-lisp/package.el" package-desc-p) mapbacktrace(#f(compiled-function (evald func args flags) #)) debug-early-backtrace() debug-early(error (void-function "emacs-lisp/package.el" package-desc-p)) signal(void-function ("emacs-lisp/package.el" package-desc-p)) comp--native-compile("emacs-lisp/package.el") batch-native-compile() batch-byte+native-compile() command-line-1(("--eval" "(setq load-prefer-newer t byte-compile-warnings 'all)" "--eval" "(setq org--inhibit-version-check t)" "-l" "comp" "-f" "batch-byte+native-compile" "emacs-lisp/package.el")) command-line() normal-top-level() Symbol=E2=80=99s function definition is void: "emacs-lisp/package.el", pack= age-desc-p ``` I built Emacs master branch with the latest commit (https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D9ad997cd68981fe6c= 6933b6977fdae23e84e6a75), enabled native-comp, on Linux. Repository branch: master 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 --without-gsettings --enable-link-time-optimization --with-native-compilation --with-pgtk --without-xaw3d --with-sound=3Dalsa --with-xwidgets --without-compress-install '--program-transform-name=3Ds/\([ec]tags\)/\1.emacs/' 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt -fuse-ld=3Dg= old' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' VitalyR From debbugs-submit-bounces@debbugs.gnu.org Wed May 24 09:12:43 2023 Received: (at control) by debbugs.gnu.org; 24 May 2023 13:12:43 +0000 Received: from localhost ([127.0.0.1]:42767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1oIE-0006zL-Sf for submit@debbugs.gnu.org; Wed, 24 May 2023 09:12:43 -0400 Received: from ma.sdf.org ([205.166.94.33]:48912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q1oI8-0006z7-PM for control@debbugs.gnu.org; Wed, 24 May 2023 09:12:41 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1q1oI7-0007tw-6I for control@debbugs.gnu.org; Wed, 24 May 2023 13:12:35 +0000 From: Andrea Corallo To: control@debbugs.gnu.org Subject: Re: bug#63679: 30.0.50; package-delete: native-compile warning on startup References: Date: Wed, 24 May 2023 13:12:35 +0000 In-Reply-To: (German Pacenza's message of "Wed, 24 May 2023 07:51:31 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: control 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.3 (/) merge 63679 63679 63681 From debbugs-submit-bounces@debbugs.gnu.org Sat May 27 02:37:24 2023 Received: (at control) by debbugs.gnu.org; 27 May 2023 06:37:24 +0000 Received: from localhost ([127.0.0.1]:51284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2nYJ-0000Xp-KP for submit@debbugs.gnu.org; Sat, 27 May 2023 02:37:24 -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 To: Ruijie Yu , Andrea Corallo In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#63742: 30.0.50; [BUG] package.el having a hard time References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 63742@debbugs.gnu.org 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 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 From unknown Thu Jun 19 14:04:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 04 Jul 2023 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator