Subject: pkg/34884: lang/mono will not build; MAP_32BIT not declared (on amd64)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <blair.sadewitz@gmail.com>
List: pkgsrc-bugs
Date: 10/23/2006 03:20:01
>Number: 34884
>Category: pkg
>Synopsis: lang/mono will not build; MAP_32BIT not declared (on amd64)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 23 03:20:01 +0000 2006
>Originator: Blair Sadewitz
>Release: 4.99.3
>Organization:
>Environment:
NetBSD woody 4.99.3 NetBSD 4.99.3 (WOODY) #2: Fri Oct 20 08:50:06 EDT 2006 blair@woody:/home/blair/200610190000Z/WOODY amd64
>Description:
I try to build lang/mono. This happens:
mono-codeman.c: In function 'new_codechunk':
mono-codeman.c:228: error: 'MAP_32BIT' undeclared (first use in this function)
mono-codeman.c:228: error: (Each undeclared identifier is reported only once
mono-codeman.c:228: error: for each function it appears in.)
gmake[3]: *** [mono-codeman.lo] Error 1
I cannot find much information about this, but see:
lists.ximian.com/pipermail/ mono-patches/2006-September/080423.htm
I am not savvy enough to fix this [quickly] or to really know what's going on, unfortunately. However, this package is integral for GNOME.
>How-To-Repeat:
Build lang/mono on amd64 from pkgsrc-current on -current.
>Fix:
Does it involve defining MONO_ARCH_NOMAP32BIT? Perhaps, but I am not sure how the pkgsrc guys handle amd64. There is definitely more than that, though.