[MacPorts] #20894: Mono fails to build on Snow Leopard x86_64
MacPorts
noreply at macports.org
Mon Dec 14 19:54:09 PST 2009
#20894: Mono fails to build on Snow Leopard x86_64
----------------------------------+-----------------------------------------
Reporter: matt@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: snowleopard | Port: mono
----------------------------------+-----------------------------------------
Comment(by p_ansell@…):
I just tried bumping the version in the Portfile to 2.4.3 and removing all
of the patchfiles and it fails with exactly the same error as in 2.4.2.3
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4.3/libgc/include
-DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" -DPACKAGE_STRING=\"libgc-mono\ 6.6\"
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSILENT=1 -DNO_SIGNALS=1
-DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1
-DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include
-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 -arch x86_64 -g -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c -o
allchblk.lo allchblk.c
/bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4.3/libgc/include
-DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" -DPACKAGE_STRING=\"libgc-mono\ 6.6\"
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSILENT=1 -DNO_SIGNALS=1
-DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1
-DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include
-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 -arch x86_64 -g -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c -o
alloc.lo alloc.c
libtool: compile: /usr/bin/gcc-4.2
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4.3/libgc/include
-DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\""
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSILENT=1 -DNO_SIGNALS=1
-DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1
-DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include
-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
-arch x86_64 -g -MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c
allchblk.c -fno-common -DPIC -o .libs/allchblk.o
libtool: compile: /usr/bin/gcc-4.2
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4.3/libgc/include
-DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\""
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_DARWIN_THREADS=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSILENT=1 -DNO_SIGNALS=1
-DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1
-DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include
-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
-arch x86_64 -g -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c alloc.c -fno-
common -DPIC -o .libs/alloc.o
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4.3/libgc/include/private/gc_priv.h:66,
from allchblk.c:19:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4.3/libgc/include/private/gcconfig.h:499:
error: expected identifier or '(' before '--' tokenIn file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4.3/libgc/include/private/gc_priv.h:66,
from alloc.c:19:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-2.4.3/libgc/include/private/gcconfig.h:499:
error: expected identifier or '(' before '--' token
--
Ticket URL: <http://trac.macports.org/ticket/20894#comment:41>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list