Alexander Hansen wrote:
> 2)  Hard to say, since you didn't mention which _file(s)_ the change
> needs to be made in, nor post a link to the Mono list article in
> question, nor did you post a sample of your output.

Sorry -- I assumed this problem was known about, since Mono is a pretty
high-visibility project.  Complete details follow, with the maintainer
cc'd.  I imagine the list is not going to be especially interested in
the full details, but it's a good idea to put them here so that Google
can point other people with the same problem to this thread.


1.  PACKAGE AFFECTED.
mono-2.4-1


2.  PROBLEM AND DURATION.
Build failure.  No version of Mono has compiled on my system since
upgrading to Snow Leopard.


3.  BUILD ENVIRONMENT.
OS X 10.6.2 (as of today; 10.6.1 before; identical results on both) on
an Intel 64-bit MacBook Pro, building 32-bit Fink.


4.  SYMPTOMS.

During the 'mini' stage of the make process, the following makefile
output appears:

gcc -DHAVE_CONFIG_H -I. -I../..   -I/sw/include -D_THREAD_SAFE
-DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
-DGetCurrentProcess=MonoGetCurrentProcess
-DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent
-I../.. -I../../libgc/include -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include -Os -fno-strict-aliasing -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -c -o genmdesc-genmdesc.o `test -f
'genmdesc.c' || echo './'`genmdesc.c
In file included from mini-x86.h:142,
                 from mini-arch.h:5,
                 from mini.h:33,
                 from genmdesc.c:9:
/usr/include/ucontext.h:42:2: error: #error ucontext routines are
deprecated, and require _XOPEN_SOURCE to be defined


5.  RESEARCH.

Checking the mono-patches mailing list, it seems the upstream knows
about the problem and has a patch available:

http://archive.netbsd.se/?ml=mono-patches&a=2009-11&m=11877003



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to