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

Previous Next

Package: emacs;

Reported by: Vitaly Ankh <vitalyankh <at> gmail.com>

Date: Wed, 24 May 2023 11:55:03 UTC

Severity: normal

Merged with 63679, 63710, 63716, 63742

Found in version 30.0.50

Done: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63681 in the body.
You can then email your comments to 63681 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#63681; Package emacs. (Wed, 24 May 2023 11:55:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vitaly Ankh <vitalyankh <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 24 May 2023 11:55:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vitaly Ankh <vitalyankh <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: build error from native-comp: void function ("emacs-lisp/package.el"
 package-desc-p)
Date: Wed, 24 May 2023 16:37:25 +0800
Hi emacs,

  With the latest emacs lisp native compiler change
(https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=92ccb6ba83076a40f3bfc7906913346a5b3a7a92
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’s function definition is void: "emacs-lisp/package.el", package-desc-p
```

I built Emacs master branch with the latest commit
(https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9ad997cd68981fe6c6933b6977fdae23e84e6a75),
enabled native-comp, on Linux.



Repository branch: master
System Description: Arch Linux

Configured using:
 '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
 --without-gsettings --enable-link-time-optimization
 --with-native-compilation --with-pgtk --without-xaw3d --with-sound=alsa
 --with-xwidgets --without-compress-install
 '--program-transform-name=s/\([ec]tags\)/\1.emacs/'
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fuse-ld=gold'
 CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

VitalyR




Merged 63679 63681. Request was from Andrea Corallo <akrl <at> sdf.org> to control <at> debbugs.gnu.org. (Wed, 24 May 2023 13:13:01 GMT) Full text and rfc822 format available.

Merged 63679 63681 63710 63716 63742. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 27 May 2023 06:38:02 GMT) Full text and rfc822 format available.

Merged 63679 63681 63710 63716 63742. Request was from Andrea Corallo <acorallo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 28 May 2023 17:46:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 04 Jul 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 309 days ago.

Previous Next


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