From: Bo YU <tsu.yubo@gmail.com>
To: emacs-devel@gnu.org
Subject: help to debug on Debian riscv64 fail to build
Date: Fri, 18 Aug 2023 19:09:58 +0800 [thread overview]
Message-ID: <CAKq8=3+YjQ1K-qr32AUVeXrxkPN=2ApyHXXyvuW9vZiXR9xvvQ@mail.gmail.com> (raw)
Hi!
(please ccing me)
Now Debian riscv64 rebootstrap official port[0],
but the emacs fail to build[1]:
the log is here:
```
...
Backtrace:
../src/bootstrap-emacs(+0x156034)[0x2ab96be034]
../src/bootstrap-emacs(+0x50c72)[0x2ab95b8c72]
../src/bootstrap-emacs(+0x50e1c)[0x2ab95b8e1c]
../src/bootstrap-emacs(+0x1543ee)[0x2ab96bc3ee]
../src/bootstrap-emacs(+0x15446e)[0x2ab96bc46e]
linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3f986bc800]
../src/bootstrap-emacs(+0x1bf90a)[0x2ab972790a]
../src/bootstrap-emacs(+0x1bfa60)[0x2ab9727a60]
../src/bootstrap-emacs(+0x1bfd4c)[0x2ab9727d4c]
../src/bootstrap-emacs(+0x1bd86a)[0x2ab972586a]
../src/bootstrap-emacs(+0x1bf278)[0x2ab9727278]
../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6]
/<<PKGBUILDDIR>>/debian/build-gtk/native-lisp/29.1-879b3864/comp-7672a6ed-a6af04d9.eln(F636f6d702d696e7465726e2d66756e632d696e2d63747874_comp_intern_func_in_ctxt_0+0x4a2)[0x3f8fb4d364]
../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6]
../src/bootstrap-emacs(+0x1b741e)[0x2ab971f41e]
../src/bootstrap-emacs(+0x1e96d6)[0x2ab97516d6]
../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6]
../src/bootstrap-emacs(+0x1ae3a0)[0x2ab97163a0]
../src/bootstrap-emacs(eval_sub+0x542)[0x2ab9719080]
../src/bootstrap-emacs(+0x1b2854)[0x2ab971a854]
../src/bootstrap-emacs(eval_sub+0x6c8)[0x2ab9719206]
../src/bootstrap-emacs(+0x1b1f80)[0x2ab9719f80]
../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6]
/<<PKGBUILDDIR>>/debian/build-gtk/native-lisp/29.1-879b3864/comp-7672a6ed-a6af04d9.eln(F636f6d702d7370696c6c2d6c6170_comp_spill_lap_0+0x7e)[0x3f8fb4dbe8]
../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6]
/<<PKGBUILDDIR>>/debian/build-gtk/native-lisp/29.1-879b3864/comp-7672a6ed-a6af04d9.eln(F636f6d702d2d6e61746976652d636f6d70696c65_comp__native_compile_0+0x4ea)[0x3f8fb7c770]
../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6]
/<<PKGBUILDDIR>>/debian/build-gtk/native-lisp/29.1-879b3864/comp-7672a6ed-a6af04d9.eln(F62617463682d6e61746976652d636f6d70696c65_batch_native_compile_0+0xfa)[0x3f8fb7d5e4]
../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6]
/<<PKGBUILDDIR>>/debian/build-gtk/native-lisp/29.1-879b3864/comp-7672a6ed-a6af04d9.eln(F62617463682d627974652b6e61746976652d636f6d70696c65_batch_bytenative_compile_0+0xd6)[0x3f8fb7d88a]
../src/bootstrap-emacs(Ffuncall+0xc2)[0x2ab97160c6]
../src/bootstrap-emacs(eval_sub+0x542)[0x2ab9719080]
../src/bootstrap-emacs(+0x1b1ad4)[0x2ab9719ad4]
../src/bootstrap-emacs(eval_sub+0x6c8)[0x2ab9719206]
../src/bootstrap-emacs(+0x1b1b34)[0x2ab9719b34]
../src/bootstrap-emacs(eval_sub+0x6c8)[0x2ab9719206]
../src/bootstrap-emacs(+0x1b2aae)[0x2ab971aaae]
../src/bootstrap-emacs(eval_sub+0x6c8)[0x2ab9719206]
../src/bootstrap-emacs(+0x1b19f6)[0x2ab97199f6]
../src/bootstrap-emacs(eval_sub+0x6c8)[0x2ab9719206]
../src/bootstrap-emacs(+0x1b2aae)[0x2ab971aaae]
...
make[5]: *** [Makefile:282:
/<<PKGBUILDDIR>>/debian/build-src/lisp/minibuffer.elc] Segmentation
fault
make[4]: *** [Makefile:841:
/<<PKGBUILDDIR>>/debian/build-src/lisp/minibuffer.elc] Error 2
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-gtk/src'
make[3]: *** [Makefile:546: src] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-gtk'
make[3]: Entering directory '/<<PKGBUILDDIR>>/debian/build-gtk'
***
*** "make all" failed with exit status 2.
***
*** You could try to:
*** - run "make bootstrap", which might fix the problem
*** - run "make V=1", which displays the full commands invoked by make,
*** to further investigate the problem
***
make[3]: *** [Makefile:416: advice-on-failure] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-gtk'
make[2]: *** [Makefile:372: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-gtk'
make[1]: *** [debian/rules:352: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:200: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-08-18T10:54:39Z
```
This time I build it with Debian package way, but I should build with
upstream tar first. I would like to get your help here how to debug
the issue effectively?
TIA,
BR,
Bo
[0]: https://lists.debian.org/debian-riscv/2023/07/msg00053.html
[1]: https://buildd.debian.org/status/package.php?p=emacs
next reply other threads:[~2023-08-18 11:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 11:09 Bo YU [this message]
2023-08-18 12:21 ` help to debug on Debian riscv64 fail to build Eli Zaretskii
2023-08-18 13:46 ` Andreas Schwab
2023-08-28 2:33 ` Bo YU
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKq8=3+YjQ1K-qr32AUVeXrxkPN=2ApyHXXyvuW9vZiXR9xvvQ@mail.gmail.com' \
--to=tsu.yubo@gmail.com \
--cc=emacs-devel@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.