Subject: Mono 1.1.12.1 build fails on 3.0 (i386)
To: None <pkgsrc-users@netbsd.org>
From: Steve Graegert <graegerts@gmail.com>
List: pkgsrc-users
Date: 03/27/2006 21:41:06
Hello everyone,
I am currently trying to get Mono 1.1.12.1 running from latest pkgsrc.
The build fails on NetBSD 3.0 (i386) while making the compiler mcs in
/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs. While the directory
exists, the program in question (mcs) is absent. From what I see in
'mono-1.1.12.1/mcs', is another mcs directory containing a C# project
that is supposed to produce the mcs compiler. I have by no means a
clue what is wrong, but it looks like there is an error in the
Makefile(s) or something. Here is the partial output of the build
process where the error appears:
--- BEGIN ---
cd ../mcs && /usr/pkg/bin/gmake PROFILES=3D'default net_2_0' all-profiles
gmake[3]: Entering directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
/usr/pkg/bin/gmake profile-do--default--all profile-do--net_2_0--all
gmake[4]: Entering directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
/usr/pkg/bin/gmake PROFILE=3Dbasic all
gmake[5]: Entering directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
gmake[6]: mcs: Command not found
gmake[6]: *** [build/deps/basic-profile-check.exe] Error 127
gmake[6]: Entering directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
*** The compiler 'mcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
gmake[7]: Entering directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
** ERROR **: file mini-exceptions.c: line 939 (mono_free_altstack):
assertion failed: (err =3D=3D 0)
aborting...
[1] Abort trap MONO_PATH=3D"./cla...
gmake[8]: *** [build/deps/basic-profile-check.exe] Error 134
gmake[8]: Entering directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
*** The contents of your 'monolite' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
gmake[8]: *** [do-profile-check-monolite] Error 1
gmake[8]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
gmake[7]: *** [do-profile-check] Error 2
gmake[7]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
gmake[6]: *** [do-profile-check-monolite] Error 2
gmake[6]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
gmake[5]: *** [do-profile-check] Error 2
gmake[5]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
gmake[4]: *** [profile-do--basic--all] Error 2
gmake[4]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
gmake[3]: *** [profiles-do--all] Error 2
gmake[3]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1/runti=
me'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-1.1.12.1'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/lang/mono
=3D=3D=3D>
=3D=3D=3D> There was an error during the ``build'' phase.
=3D=3D=3D> Please investigate the following for more information:
=3D=3D=3D> * log of the build
=3D=3D=3D> * /usr/pkgsrc/lang/mono/work/.work.log
=3D=3D=3D>
=3D=3D=3D> * This package is broken in pkgsrc-2005Q4.
=3D=3D=3D> * It may be removed in the next branch unless fixed.
*** Error code 1
Stop.
--- END ---
Has anyone been able to build Mono on NetBSD successfully?=20
Suggenstions highly welcome. Thanks.
=09\Steve
PS: I can attach the .work log if needed (135k, .tar.gz).