[MacPorts] #18330: Mono fails to build
MacPorts
noreply at macports.org
Mon Feb 2 10:14:06 PST 2009
#18330: Mono fails to build
--------------------------------------------------+-------------------------
Reporter: michael.g.ross.98@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: mono
--------------------------------------------------+-------------------------
Changes (by macsforever2000@…):
* keywords: mono =>
* owner: macports-tickets@… => mww@…
Old description:
> Upgrading Mono produced the following:
>
> sudo port upgrade outdated
> ---> Building mono
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.0.1"
> && make all " returned error 2
> Command output: ../../doltcompile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I.
> -I../.. -D_REENTRANT -I/opt/local/include/glib-2.0
> -I/opt/local/lib/glib-2.0/include -I/opt/local/include
> -I../../libgc/include -DMONO_BINDIR=\""/opt/local/bin"\" -I../..
> -I/opt/local/include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS
> -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
> -DGetCurrentProcess=MonoGetCurrentProcess
> -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent
> -O2 -D_NONSTD_SOURCE -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 -MT handles.lo -MD -MP -MF .deps/handles.Tpo -c -o
> handles.lo handles.c
> In file included from ../../mono/os/gc_wrapper.h:39,
> from handles.c:23:
> ../../libgc/include/gc_typed.h:50: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_typed.h:77: error: syntax error before
> 'GC_malloc_explicitly_typed'
> ../../libgc/include/gc_typed.h:83: error: syntax error before
> 'GC_malloc_explicitly_typed_ignore_off_page'
> ../../libgc/include/gc_typed.h:86: error: syntax error before
> 'GC_calloc_explicitly_typed'
> In file included from ../../mono/os/gc_wrapper.h:40,
> from handles.c:23:
> ../../libgc/include/gc_mark.h:56: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_mark.h:109: error: syntax error before
> 'GC_least_plausible_heap_addr'
> ../../libgc/include/gc_mark.h:109: warning: type defaults to 'int' in
> declaration of 'GC_least_plausible_heap_addr'
> ../../libgc/include/gc_mark.h:109: warning: data definition has no type
> or storage class
> ../../libgc/include/gc_mark.h:110: error: syntax error before
> 'GC_greatest_plausible_heap_addr'
> ../../libgc/include/gc_mark.h:110: warning: type defaults to 'int' in
> declaration of 'GC_greatest_plausible_heap_addr'
> ../../libgc/include/gc_mark.h:110: warning: data definition has no type
> or storage class
> ../../libgc/include/gc_mark.h:134: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_mark.h:156: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_mark.h:157: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_mark.h:160: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_mark.h:163: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_mark.h:170: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_mark.h:171: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_mark.h:179: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_mark.h:183: error: syntax error before 'GC_PROTO'
> ../../libgc/include/gc_mark.h:197: error: syntax error before 'GC_PROTO'
> make[3]: *** [handles.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: Unable to upgrade port: 1
New description:
Upgrading Mono produced the following:
{{{
sudo port upgrade outdated
---> Building mono
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.0.1"
&& make all " returned error 2
Command output: ../../doltcompile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I.
-I../.. -D_REENTRANT -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I../../libgc/include -DMONO_BINDIR=\""/opt/local/bin"\" -I../..
-I/opt/local/include -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS
-DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP
-DGetCurrentProcess=MonoGetCurrentProcess
-DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent
-O2 -D_NONSTD_SOURCE -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 -MT handles.lo -MD -MP -MF .deps/handles.Tpo -c -o
handles.lo handles.c
In file included from ../../mono/os/gc_wrapper.h:39,
from handles.c:23:
../../libgc/include/gc_typed.h:50: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_typed.h:77: error: syntax error before
'GC_malloc_explicitly_typed'
../../libgc/include/gc_typed.h:83: error: syntax error before
'GC_malloc_explicitly_typed_ignore_off_page'
../../libgc/include/gc_typed.h:86: error: syntax error before
'GC_calloc_explicitly_typed'
In file included from ../../mono/os/gc_wrapper.h:40,
from handles.c:23:
../../libgc/include/gc_mark.h:56: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_mark.h:109: error: syntax error before
'GC_least_plausible_heap_addr'
../../libgc/include/gc_mark.h:109: warning: type defaults to 'int' in
declaration of 'GC_least_plausible_heap_addr'
../../libgc/include/gc_mark.h:109: warning: data definition has no type or
storage class
../../libgc/include/gc_mark.h:110: error: syntax error before
'GC_greatest_plausible_heap_addr'
../../libgc/include/gc_mark.h:110: warning: type defaults to 'int' in
declaration of 'GC_greatest_plausible_heap_addr'
../../libgc/include/gc_mark.h:110: warning: data definition has no type or
storage class
../../libgc/include/gc_mark.h:134: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_mark.h:156: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_mark.h:157: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_mark.h:160: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_mark.h:163: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_mark.h:170: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_mark.h:171: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_mark.h:179: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_mark.h:183: error: syntax error before 'GC_PROTO'
../../libgc/include/gc_mark.h:197: error: syntax error before 'GC_PROTO'
make[3]: *** [handles.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Unable to upgrade port: 1
}}}
--
Comment:
I see this same problem. Mac OS X 10.5.6 Intel. Xcode 3.1.2.
--
Ticket URL: <http://trac.macports.org/ticket/18330#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list