From: Vitaly Ankh <vitalyankh@gmail.com>
To: 63681@debbugs.gnu.org
Subject: bug#63681: build error from native-comp: void function ("emacs-lisp/package.el" package-desc-p)
Date: Wed, 24 May 2023 16:37:25 +0800 [thread overview]
Message-ID: <CAHaGBHNaxu2wD2JUur=00KEe3ZwLQsn04UBmUne8u5+gB=15jg@mail.gmail.com> (raw)
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
reply other threads:[~2023-05-24 8:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHaGBHNaxu2wD2JUur=00KEe3ZwLQsn04UBmUne8u5+gB=15jg@mail.gmail.com' \
--to=vitalyankh@gmail.com \
--cc=63681@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).