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
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 5.99.59 NetBSD 5.99.59 (MONOLITHIC) #0: Tue Dec 27 01:19:12
UTC 2011
builds%b8.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201112261820Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/MONOLITHIC
i386
>Description:
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:
http://mail-index.netbsd.org/pkgsrc-users/2011/09/23/msg015082.html
(gdb) bt
#0 0xbbb8d747 in _lwp_kill () from /usr/lib/libc.so.12
#1 0xbbb8d703 in raise () from /usr/lib/libc.so.12
#2 0xbbb8ceed in abort () from /usr/lib/libc.so.12
#3 0x080db90a in mono_handle_native_sigsegv (signal=11, ctx=0xbfbfc918) at
mini-exceptions.c:2245
#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 "�311
\b��\b") at mark.c:391
#10 0x08207e7a in GC_stopped_mark (stop_func=0x8207bc0 <GC_never_stop_func>) at
alloc.c:543
#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
".//class/lib/monolite/mcs.exe",
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
using:
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
>How-To-Repeat:
install NetBSD 5.99.5x
cd lang/mono && make
>Fix:
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/bsd.prefs.mk"
+
+.if (${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386")
+CONFIGURE_ARGS+= --with-gc=none
+.else
+PLIST_SRC+= ${PKGDIR}/PLIST.libgc
+.endif
+
.include "options.mk"
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 @@
share/examples/mono/browscap.ini
share/examples/mono/config
share/examples/mono/mconfig/config.xml
-share/libgc-mono/README
-share/libgc-mono/README.DGUX386
-share/libgc-mono/README.Mac
-share/libgc-mono/README.MacOSX
-share/libgc-mono/README.OS2
-share/libgc-mono/README.amiga
-share/libgc-mono/README.arm.cross
-share/libgc-mono/README.autoconf
-share/libgc-mono/README.changes
-share/libgc-mono/README.contributors
-share/libgc-mono/README.cords
-share/libgc-mono/README.darwin
-share/libgc-mono/README.dj
-share/libgc-mono/README.environment
-share/libgc-mono/README.ews4800
-share/libgc-mono/README.hp
-share/libgc-mono/README.linux
-share/libgc-mono/README.macros
-share/libgc-mono/README.rs6000
-share/libgc-mono/README.sgi
-share/libgc-mono/README.solaris2
-share/libgc-mono/README.uts
-share/libgc-mono/README.win32
-share/libgc-mono/barrett_diagram
-share/libgc-mono/debugging.html
-share/libgc-mono/gc.man
-share/libgc-mono/gcdescr.html
-share/libgc-mono/gcinterface.html
-share/libgc-mono/leak.html
-share/libgc-mono/scale.html
-share/libgc-mono/simple_example.html
-share/libgc-mono/tree.html
share/locale/de/LC_MESSAGES/mcs.mo
share/locale/es/LC_MESSAGES/mcs.mo
share/locale/ja/LC_MESSAGES/mcs.mo
Home |
Main Index |
Thread Index |
Old Index