pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/57495: emacs28 on pkgsrc-2023Q2 and NetBSD/i386 9.3 fails to build
>Number: 57495
>Category: pkg
>Synopsis: emacs28 on pkgsrc-2023Q2 and NetBSD/i386 9.3 fails to build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 01 07:20:00 +0000 2023
>Originator: Izumi Tsutsui
>Release: NetBSD 9.3
>Organization:
>Environment:
NetBSD optiplex 9.3 NetBSD 9.3 (GENERIC) #0: Thu Aug 4 15:30:37 UTC 2022 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
pkgsrc/editors/emacs28 fails to bulid.
---
/usr/pkg/bin/gmake -C ../admin/unidata all EMACS="../../src/bootstrap-emacs"
gmake[3]: Entering directory '/s/obj.i386/pkgsrc/editors/emacs28/work.i386/emacs-28.2/admin/unidata'
SCRAPE . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic ...
SCRAPE ./cedet/semantic/analyze ./cedet/semantic/bovine ...
SCRAPE ./cedet/semantic/decorate ./cedet/semantic/symref ...
SCRAPE ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ...
SCRAPE ./erc ./eshell ./gnus ./image ./international ./language ./leim ...
SCRAPE ./leim/ja-dic ./leim/quail ./mail ./mh-e ./net ./nxml ./org ...
SCRAPE ./play ./progmodes ./textmodes ./url ./vc
ELC uvs.elc
ELC unidata-gen.elc
GEN unidata.txt
ELC ../lisp/international/cp51932.elc
ELC ../lisp/international/eucjp-ms.elc
INFO Scraping files for loaddefs.el...
ELC ../lisp/international/fontset.elc
Fatal error 11: Segmentation fault
Backtrace:
0x62c9fd <emacs_backtrace+0x505062> at ../src/bootstrap-emacs
0x730e97 <terminate_due_to_signal+0x50508f> at ../src/bootstrap-emacs
0x62a96f <emacs_intr_read+0x505000> at ../src/bootstrap-emacs
0x62abd0 <deliver_thread_signal.constprop.10+0x50503b> at ../src/bootstrap-emacs
0x62ac4c <handle_sigsegv+0x505024> at ../src/bootstrap-emacs
gmake[3]: *** [Makefile:205: loaddefs.el] Segmentation fault (core dumped)
gmake[3]: Leaving directory '/s/obj.i386/pkgsrc/editors/emacs28/work.i386/emacs-28.2/lisp'
gmake[2]: *** [Makefile:845: ../lisp/loaddefs.el] Error 2
gmake[2]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/s/obj.i386/pkgsrc/editors/emacs28/work.i386/emacs-28.2/admin/unidata'
gmake[2]: Leaving directory '/s/obj.i386/pkgsrc/editors/emacs28/work.i386/emacs-28.2/src'
gmake[1]: *** [Makefile:449: src] Error 2
gmake[1]: Leaving directory '/s/obj.i386/pkgsrc/editors/emacs28/work.i386/emacs-28.2'
gmake: *** [Makefile:1147: bootstrap] Error 2
*** Error code 2
Stop.
make[1]: stopped in /usr/pkgsrc/editors/emacs28
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/editors/emacs28
optiplex# gdb /s/obj.i386/pkgsrc/editors/emacs28/work.i386/emacs-28.2/src/bootstrap-emacs /s/obj.i386/pkgsrc/editors/emacs28/work.i386/emacs-28.2/lisp/bootstrap-emacs.core
GNU gdb (GDB) 8.3
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i486--netbsdelf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /s/obj.i386/pkgsrc/editors/emacs28/work.i386/emacs-28.2/src/bootstrap-emacs...
(No debugging symbols found in /s/obj.i386/pkgsrc/editors/emacs28/work.i386/emacs-28.2/src/bootstrap-emacs)
[New process 1]
[New process 2]
Core was generated by `bootstrap-emacs'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb6ba2bb7 in _lwp_kill () from /usr/lib/libc.so.12
[Current thread is 1 (process 1)]
(gdb) bt
#0 0xb6ba2bb7 in _lwp_kill () from /usr/lib/libc.so.12
#1 0xb6ba2ad1 in raise (s=11) at /usr/src/lib/libc/gen/raise.c:48
#2 0x00ec4ef0 in terminate_due_to_signal ()
#3 0x00dbe96f in handle_fatal_signal ()
#4 0x00dbebd0 in deliver_thread_signal.constprop ()
#5 0x00dbec4c in handle_sigsegv ()
#6 <signal handler called>
#7 0x00df4cf6 in re_match_2_internal ()
#8 0x00df8343 in rpl_re_search_2 ()
#9 0x00df8da9 in rpl_re_search ()
#10 0x00debae1 in string_match_1 ()
#11 0x00e26eca in eval_sub ()
#12 0x00e27202 in Fand ()
#13 0x00e26f65 in eval_sub ()
#14 0x00e27b23 in Fwhile ()
#15 0x00e26f65 in eval_sub ()
#16 0x00e2723d in Fprogn ()
#17 0x00e26f65 in eval_sub ()
#18 0x00e286ca in Funwind_protect ()
#19 0x00e26f65 in eval_sub ()
#20 0x00e2723d in Fprogn ()
#21 0x00e283bf in Flet ()
#22 0x00e26f65 in eval_sub ()
#23 0x00e26fe5 in eval_sub ()
#24 0x00e2723d in Fprogn ()
#25 0x00e283bf in Flet ()
#26 0x00e26f65 in eval_sub ()
#27 0x00e2723d in Fprogn ()
#28 0x00e273e0 in funcall_lambda ()
#29 0x00e269e8 in apply_lambda ()
#30 0x00e26cf2 in eval_sub ()
#31 0x00e2723d in Fprogn ()
#32 0x00e28560 in FletX ()
#33 0x00e26f65 in eval_sub ()
#34 0x00e2723d in Fprogn ()
#35 0x00e27682 in Fif ()
#36 0x00e26f65 in eval_sub ()
#37 0x00e2723d in Fprogn ()
#38 0x00e283bf in Flet ()
#39 0x00e26f65 in eval_sub ()
#40 0x00e2723d in Fprogn ()
#41 0x00e273e0 in funcall_lambda ()
#42 0x00e269e8 in apply_lambda ()
#43 0x00e26cf2 in eval_sub ()
#44 0x00e2708d in eval_sub ()
#45 0x00e2708d in eval_sub ()
#46 0x00e2708d in eval_sub ()
#47 0x00e2723d in Fprogn ()
#48 0x00e28560 in FletX ()
#49 0x00e26f65 in eval_sub ()
#50 0x00e2723d in Fprogn ()
#51 0x00e273e0 in funcall_lambda ()
#52 0x00e24635 in Ffuncall ()
#53 0x00e24977 in Fapply ()
#54 0x00e24bb2 in apply1 ()
#55 0x00e281a7 in Fmacroexpand ()
#56 0x00e246c5 in Ffuncall ()
#57 0x00e607e2 in exec_byte_code ()
#58 0x00e2748f in funcall_lambda ()
#59 0x00e24635 in Ffuncall ()
#60 0x00e607e2 in exec_byte_code ()
#61 0x00e2748f in funcall_lambda ()
#62 0x00e24635 in Ffuncall ()
#63 0x00e607e2 in exec_byte_code ()
#64 0x00e2748f in funcall_lambda ()
#65 0x00e24635 in Ffuncall ()
#66 0x00e607e2 in exec_byte_code ()
#67 0x00e2748f in funcall_lambda ()
#68 0x00e24635 in Ffuncall ()
#69 0x00e607e2 in exec_byte_code ()
#70 0x00e2748f in funcall_lambda ()
#71 0x00e24635 in Ffuncall ()
#72 0x00e270cf in eval_sub ()
#73 0x00e2723d in Fprogn ()
#74 0x00e27682 in Fif ()
#75 0x00e26f65 in eval_sub ()
#76 0x00e2723d in Fprogn ()
#77 0x00e276d7 in Fcond ()
#78 0x00e26f65 in eval_sub ()
#79 0x00e2723d in Fprogn ()
#80 0x00e28560 in FletX ()
#81 0x00e26f65 in eval_sub ()
#82 0x00e2723d in Fprogn ()
#83 0x00e27634 in prog_ignore ()
#84 0x00e27b1b in Fwhile ()
#85 0x00e26f65 in eval_sub ()
#86 0x00e2723d in Fprogn ()
#87 0x00e28560 in FletX ()
#88 0x00e26f65 in eval_sub ()
#89 0x00e2723d in Fprogn ()
#90 0x00e26f65 in eval_sub ()
#91 0x00e2766f in Fif ()
#92 0x00e26f65 in eval_sub ()
#93 0x00e2723d in Fprogn ()
#94 0x00e283bf in Flet ()
#95 0x00e26f65 in eval_sub ()
#96 0x00e2723d in Fprogn ()
#97 0x00e283bf in Flet ()
#98 0x00e26f65 in eval_sub ()
#99 0x00e2723d in Fprogn ()
#100 0x00e273e0 in funcall_lambda ()
#101 0x00e269e8 in apply_lambda ()
#102 0x00e26cf2 in eval_sub ()
#103 0x00e2723d in Fprogn ()
#104 0x00e283bf in Flet ()
#105 0x00e26f65 in eval_sub ()
#106 0x00e2723d in Fprogn ()
#107 0x00e273e0 in funcall_lambda ()
#108 0x00e269e8 in apply_lambda ()
#109 0x00e26cf2 in eval_sub ()
#110 0x00e286ca in Funwind_protect ()
#111 0x00e26f65 in eval_sub ()
#112 0x00e2723d in Fprogn ()
#113 0x00e283bf in Flet ()
#114 0x00e26f65 in eval_sub ()
#115 0x00e2723d in Fprogn ()
#116 0x00e27682 in Fif ()
#117 0x00e26f65 in eval_sub ()
#118 0x00e2723d in Fprogn ()
#119 0x00e273e0 in funcall_lambda ()
#120 0x00e269e8 in apply_lambda ()
#121 0x00e26cf2 in eval_sub ()
#122 0x00e28b4d in Feval ()
#123 0x00da4fb6 in top_level_2 ()
#124 0x00e23707 in internal_condition_case ()
#125 0x00da64dd in top_level_1 ()
#126 0x00e23663 in internal_catch ()
#127 0x00da4ef2 in command_loop ()
#128 0x00da89c2 in recursive_edit_1 ()
#129 0x00da8cda in Frecursive_edit ()
#130 0x00ec711b in main ()
(gdb)
---
This SEGV on re_match_2_internal () can be reproducible,
maybe not on a specific ELC .el file but INFO for loaddefs.el?
---
SCRAPE ./play ./progmodes ./textmodes ./url ./vc
ELC ../lisp/frame.elc
ELC ../lisp/fringe.elc
INFO Scraping files for loaddefs.el...
ELC ../lisp/help.elc
Fatal error 11: Segmentation fault
---
SCRAPE ./play ./progmodes ./textmodes ./url ./vc
ELC ../lisp/international/ucs-normalize.elc
INFO Scraping files for loaddefs.el...
ELC ../lisp/isearch.elc
Fatal error 11: Segmentation fault
---
SCRAPE ./play ./progmodes ./textmodes ./url ./vc
ELC ../lisp/help.elc
ELC ../lisp/image.elc
ELC ../lisp/indent.elc
ELC ../lisp/international/charscript.elc
INFO Scraping files for loaddefs.el...
ELC ../lisp/international/emoji-zwj.elc
Fatal error 11: Segmentation fault
---
Note bulkbuild (NetBSD/i386 9.0) has no error?
https://mail-index.netbsd.org/pkgsrc-bulk/2023/06/30/msg023907.html
>How-To-Repeat:
'make package' in pkgsrc/editors/emacs28 on
pkgsrc-2023Q2 and NetBSD/i386 9.3.
>Fix:
No idea.
Home |
Main Index |
Thread Index |
Old Index