GNU bug report logs - #63681
build error from native-comp: void function ("emacs-lisp/package.el" package-desc-p)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Vitaly Ankh <vitalyankh@HIDDEN>; merged with #63679, #63710, #63716, #63742; dated Wed, 24 May 2023 11:55:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 63679 63681 63710 63716 63742. Request was from Andrea Corallo <acorallo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 63679 63681 63710 63716 63742. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 63679 63681. Request was from Andrea Corallo <akrl@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 May 2023 11:54:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 24 07:54:32 2023
Received: from localhost ([127.0.0.1]:42396 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1q1n4Z-0002Cr-EO
	for submit <at> 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 <vitalyankh@HIDDEN>) id 1q1k06-0007rk-4D
 for submit <at> 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 <vitalyankh@HIDDEN>)
 id 1q1k05-0003kD-QB
 for bug-gnu-emacs@HIDDEN; 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 <vitalyankh@HIDDEN>)
 id 1q1k03-00009n-V2
 for bug-gnu-emacs@HIDDEN; Wed, 24 May 2023 04:37:41 -0400
Received: by mail-pf1-x430.google.com with SMTP id
 d2e1a72fcca58-64d3fbb8c1cso630311b3a.3
 for <bug-gnu-emacs@HIDDEN>; 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 <vitalyankh@HIDDEN>
Date: Wed, 24 May 2023 16:37:25 +0800
Message-ID: <CAHaGBHNaxu2wD2JUur=00KEe3ZwLQsn04UBmUne8u5+gB=15jg@HIDDEN>
Subject: build error from native-comp: void function ("emacs-lisp/package.el"
 package-desc-p)
To: bug-gnu-emacs@HIDDEN
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@HIDDEN; 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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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) #<bytecode
-0x1dc4ecf4b251797b>))
  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




Acknowledgement sent to Vitaly Ankh <vitalyankh@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#63681; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 28 May 2023 18:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.