pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45828: lang/mono doesn't build on 5.99.5x/i386

>Number:         45828
>Category:       pkg
>Synopsis:       lang/mono doesn't build on 5.99.5x/i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 13 00:35:01 +0000 2012
>Originator:     B.ICT A.P. deBROUWER Jr.
>Release:        5.99.59
NetBSD 5.99.59 NetBSD 5.99.59 (MONOLITHIC) #0: Tue Dec 27 01:19:12 
UTC 2011
am running nbsd/i386 on amd64 hw.

since a move from 5.1 and pkgsrc 10Q4 to
NetBSD 5.99.55 5.99.56 5.99.59/i386 with pkgsrc-current (HEAD)
i can't build lang/mono anymore.

the same is subject this ML message:

(gdb) bt
#0  0xbbb8d747 in _lwp_kill () from /usr/lib/
#1  0xbbb8d703 in raise () from /usr/lib/
#2  0xbbb8ceed in abort () from /usr/lib/
#3  0x080db90a in mono_handle_native_sigsegv (signal=11, ctx=0xbfbfc918) at 
#4  0x0805cef4 in mono_sigsegv_signal_handler (_dummy=11, info=0xbfbfc898, 
context=0xbfbfc918) at mini.c:5848
#5  <signal handler called>
#6  GC_push_all_eager (bottom=0xbfbfcc54 "", top=0xc0000000 <Address 0xc0000000 
out of bounds>) at mark.c:1468
#7  0x08213b09 in pthread_push_all_stacks () at pthread_stop_world.c:297
#8  GC_push_all_stacks () at pthread_stop_world.c:332
#9  0x0820e1bf in GC_mark_some (cold_gc_frame=0xbfbfcd0c "&#65533;311 
\b&#65533;&#65533;\b") at mark.c:391
#10 0x08207e7a in GC_stopped_mark (stop_func=0x8207bc0 <GC_never_stop_func>) at 
#11 0x082084d9 in GC_try_to_collect_inner (stop_func=0x8207bc0 
<GC_never_stop_func>) at alloc.c:382
#12 0x0820f941 in GC_init_inner () at misc.c:807
#13 0x0820fad7 in GC_init () at misc.c:517
#14 0x081253ac in mono_gc_base_init () at boehm-gc.c:126
#15 0x0813ec0d in mono_init_internal (filename=0xbfbfe3dc 
    exe_filename=0xbfbfe3dc ".//class/lib/monolite/mcs.exe", 
runtime_version=0x0) at domain.c:1286
#16 0x0805db9d in mini_init (filename=0xbfbfe3dc 
".//class/lib/monolite/mcs.exe", runtime_version=0x0) at mini.c:6321
#17 0x080b599a in mono_main (argc=7, argv=0xbfbfd050) at driver.c:1746
#18 0x080573e0 in mono_main_with_options (argv=0xbfbfd050, argc=7) at main.c:66
#19 main (argc=7, argv=0xbfbfd050) at main.c:97

CONFIGURE_ARGS+=        --with-gc=none
gives a correct build.

CONFIGURE_ARGS+=        --with-gc=boehm
does not:
checking gc.h usability... yes
checking gc.h presence... yes
checking for gc.h... yes
checking gc/gc.h usability... yes
checking gc/gc.h presence... yes
checking for gc/gc.h... yes
checking for GC_malloc in -lgc... no
configure: error: "GC requested but libgc not found! Install libgc or run 
configure with --with-gc=none."
*** Error code 1

install NetBSD 5.99.5x
cd lang/mono && make
patch to Makefile and move libgc items to it's own PLIST.libgc:

--- Makefile.orig       2012-01-13 00:51:57.000000000 +0000
+++ Makefile    2012-01-13 02:24:47.000000000 +0000
@@ -31,6 +32,14 @@
 CONFIGURE_ARGS+=       --with-preview=yes
 CONFIGURE_ARGS+=       --with-libgdiplus=installed
+.include "../../mk/"
+.if (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386")
+CONFIGURE_ARGS+=       --with-gc=none
+PLIST_SRC+=            ${PKGDIR}/PLIST.libgc
 .include ""
 MAKE_FLAGS+=           PERL=${PERL5:Q}

--- PLIST.common.orig   2012-01-13 01:33:38.000000000 +0000
+++ PLIST.common        2012-01-13 02:21:56.000000000 +0000
@@ -1007,38 +1007,6 @@

Home | Main Index | Thread Index | Old Index