Subject: pkg/35500: xemacs-current does not build on -current
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <martin@duskware.de>
List: pkgsrc-bugs
Date: 01/27/2007 11:25:00
>Number:         35500
>Category:       pkg
>Synopsis:       xemacs-current does not build on -current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 27 11:25:00 +0000 2007
>Originator:     Martin Husemann
>Release:        NetBSD 4.99.9
>Organization:
>Environment:
System: NetBSD night-owl.duskware.de 4.99.9 NetBSD 4.99.9 (NIGHT-OWL) #65: Sat Jan 27 00:01:28 CET 2007 martin@night-owl.duskware.de:/usr/src/sys/arch/i386/compile/NIGHT-OWL i386
Architecture: i386
Machine: i386
>Description:

Try to build pkgsrc/editors/xemacs-current on an up-to-date i386 -current.
Watch it segfault:

#0  0xbb8a0043 in kill () from /usr/lib/libc.so.12
#1  0x080e8721 in fatal_error_signal (sig=11) at emacs.c:3800
#2  <signal handler called>
#3  0x0816541d in mark_object_maybe_checking_free_1 (obj=<value optimized out>, 
    allow_free=0, level=10, pos=0) at gc.c:922
#4  0x08165705 in kkcc_marking (unused_cnt=<value optimized out>) at gc.c:1101
#5  0x081662b1 in garbage_collect_1 () at gc.c:2019
#6  0x080f2c2b in Ffuncall (nargs=4, args=0xbfbfbd24) at eval.c:3824
#7  0x080a44a8 in execute_optimized_program (
    program=0x85a8590 "\r;\006\r\"\025\f;\006\f\"\024\rGV.\t\030!!\036\025\216r\016\025q\210\b\021\rc\210b\210\016\026#\n\f\016\027#\210 ,\207\033\032\016\026\r\n#\026\f\016\027\r$\023\225\vG\rGZ\\\022\v\025\r*\207", 
    stack_depth=5, constants_data=0x8408c10) at bytecode.c:862
#8  0x080f081c in funcall_compiled_function (fun=138444120, nargs=3, 
    args=<value optimized out>) at eval.c:3495
#9  0x080f1b48 in Feval (form=142281140) at eval.c:3707
#10 0x080f4a78 in Flet (args=142281212) at eval.c:1102
#11 0x080f1f81 in Feval (form=142281116) at eval.c:3617
#12 0x080f1f81 in Feval (form=144127516) at eval.c:3617
#13 0x080f1d71 in Feval (form=142281056) at eval.c:3731
#14 0x080f27c3 in Fprogn (args=143997508) at eval.c:954
#15 0x080f4338 in Fwhile (args=143997520) at eval.c:1140
#16 0x080f1f81 in Feval (form=143997532) at eval.c:3617
#17 0x080f27c3 in Fprogn (args=143997544) at eval.c:954
#18 0x080f4c48 in Flet (args=143997556) at eval.c:1123
#19 0x080f1f81 in Feval (form=143997568) at eval.c:3617
#20 0x080f27c3 in Fprogn (args=143997616) at eval.c:954
#21 0x080ed491 in internal_catch (tag=139594788, func=0x80f2704 <Fprogn>, 
    arg=143997616, threw=0x0, thrown_tag=0x0, backtrace_before_throw=0x0)
    at eval.c:1530
#22 0x080f235d in Fcatch (args=143997664) at eval.c:1484
#23 0x080f1f81 in Feval (form=143997676) at eval.c:3617
#24 0x080f1993 in Feval (form=143997700) at eval.c:3633
#25 0x080f1d71 in Feval (form=143997604) at eval.c:3731
#26 0x080f1d71 in Feval (form=142281008) at eval.c:3731
#27 0x080f27c3 in Fprogn (args=142280996) at eval.c:954
#28 0x080f4c48 in Flet (args=142245656) at eval.c:1123
#29 0x080f1f81 in Feval (form=142245632) at eval.c:3617
#30 0x080f27c3 in Fprogn (args=142281620) at eval.c:954
#31 0x080f1f81 in Feval (form=142244876) at eval.c:3617
#32 0x080f27c3 in Fprogn (args=142281632) at eval.c:954
#33 0x080f4c48 in Flet (args=142244864) at eval.c:1123
#34 0x080f1f81 in Feval (form=142244684) at eval.c:3617
#35 0x080f27c3 in Fprogn (args=143308208) at eval.c:954
#36 0x080f1f81 in Feval (form=143922440) at eval.c:3617
#37 0x080f1d71 in Feval (form=142244528) at eval.c:3731
#38 0x080f27c3 in Fprogn (args=142244516) at eval.c:954
#39 0x080f29ef in funcall_lambda (fun=142282064, nargs=3, args=0xbfbfced0)
    at eval.c:4249
#40 0x080f1fd6 in Feval (form=142286040) at eval.c:3758
#41 0x080f27c3 in Fprogn (args=142282340) at eval.c:954
#42 0x080f4c48 in Flet (args=142282304) at eval.c:1123
#43 0x080f1f81 in Feval (form=142282232) at eval.c:3617
#44 0x080f27c3 in Fprogn (args=142282148) at eval.c:954
#45 0x080f29ef in funcall_lambda (fun=142286760, nargs=0, args=0xbfbfd238)
    at eval.c:4249
[...]

>How-To-Repeat:

cd /usr/pkgsrc/editors/xemacs-current && make update

>Fix:
n/a