Upgrade to Mono 2 freezes during compilation

William Denton wtd at pobox.com
Fri Feb 13 22:06:03 PST 2009


I'm running 6.4-STABLE FreeBSD compiled Sun Dec 21 12:07:03 EST 2008. 
I've been trying to upgrade Mono over the last few days, since the bump to 
2, but it always hangs in the same place.

I removed all the semaphore stuff with ipcrm, and ran

make CFLAGS+="-O2 -fno-strict-aliasing -pipe" STRIP="" build

It chugs for a while, then does this bit and hangs on the last line.

gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/ports/lang/mono/work/mono-2.0.1/data'
gmake[2]: Leaving directory `/usr/ports/lang/mono/work/mono-2.0.1/data'
Making all in runtime
gmake[2]: Entering directory 
`/usr/ports/lang/mono/work/mono-2.0.1/runtime'
d=`cd ../support && pwd`; \
 	sed 's,target="libMonoPosixHelper[^"]*",target="'$d/libMonoPosixHelper.la'",' 
../data/config > etc/mono/configt
if test -z ""; then :; else \
 	  sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="" />,' etc/mono/configt > etc/mono/configtt; \
 	  mv -f etc/mono/configtt etc/mono/configt; fi
mv -f etc/mono/configt etc/mono/config
/bin/sh /usr/ports/lang/mono/work/mono-2.0.1/install-sh -d _tmpinst/bin
cp mono-wrapper _tmpinst/bin/mono
echo '#! /bin/sh' > _tmpinst/bin/mcs ; \
 	r=`pwd`; m=`cd ../mcs && pwd`; \
 	echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/class/lib/default/mcs.exe"'" "$@"' >> _tmpinst/bin/mcs ; \
 	chmod +x _tmpinst/bin/mcs
echo '#! /bin/sh' > _tmpinst/bin/ilasm ; \
 	r=`pwd`; m=`cd ../mcs && pwd`; \
 	echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/ilasm/ilasm.exe"'" "$@"' >> _tmpinst/bin/ilasm ; \
 	chmod +x _tmpinst/bin/ilasm
echo '#! /bin/sh' > _tmpinst/bin/gmcs ; \
 	r=`pwd`; m=`cd ../mcs && pwd`; \
 	echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/class/lib/net_2_0/gmcs.exe"'" "$@"' >> _tmpinst/bin/gmcs ; \
 	chmod +x _tmpinst/bin/gmcs
if test -w ../mcs; then :; else chmod -R +w ../mcs; fi
cd ../mcs && gmake NO_DIR_CHECK=1 PROFILES='default net_2_0 net_3_5 net_2_1' CC='cc' all-profiles
gmake[3]: Entering directory `/usr/ports/lang/mono/work/mono-2.0.1/mcs'
gmake profile-do--default--all profile-do--net_2_0--all 
profile-do--net_3_5--all profile-do--net_2_1--all
gmake[4]: Entering directory `/usr/ports/lang/mono/work/mono-2.0.1/mcs'
gmake PROFILE=basic all
gmake[5]: Entering directory `/usr/ports/lang/mono/work/mono-2.0.1/mcs'
gmake[6]: *** [build/deps/basic-profile-check.exe] Error 1
gmake[6]: Entering directory `/usr/ports/lang/mono/work/mono-2.0.1/mcs'
*** The compiler 'false' doesn't appear to be usable.
*** Trying the 'monolite' directory.
gmake[7]: Entering directory `/usr/ports/lang/mono/work/mono-2.0.1/mcs'


-- 
William Denton, Toronto : www.miskatonic.org www.frbr.org www.openfrbr.org


More information about the freebsd-mono mailing list