Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12295 closed defect (fixed)

BUG: mono 1.2.4 fails to build

Reported by: arto.bendiken@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: mono Cc: mww@…
Port:

Description

The Mono port fails to build, aborting with the following error:

$ sudo port install mono
...
--->  Building mono with target all
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/wo
Command output: ./Mono.Unix/UnixSymbolicLinkInfo.cs(71,32): warning CS0219: The variable Path' is assigned but its value is never used
./Mono.Unix.Native/Syscall.cs(820,45): warning CS3019: CLS compliance checking will not be performed on Mono.Unix.Native.Stat._padding_' because it is not visible from out
./Mono.Remoting.Channels.Unix/UnixServerChannel.cs(307,30): warning CS0168: The variable Ex' is declared but never used
./Mono.Unix.Native/Syscall.cs(820,45): warning CS0169: The private field Mono.Unix.Native.Stat._padding_' is never used
./Mono.Unix.Native/Syscall.cs(1025,29): warning CS0169: The private field Mono.Unix.Native.Timezone.tz_dsttime' is never used
Compilation succeeded - 7 warning(s)
MONO_PATH="../../class/lib/net_1_1_bootstrap:$MONO_PATH" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mon
Assembly ../../class/lib/default/Mono.Posix.dll signed.
Creating ../../build/deps/default_Accessibility.dll.makefrag ...
make all-local
MONO_PATH="../../class/lib/default:$MONO_PATH" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mono-1.2.4/ru
MONO_PATH="../../class/lib/net_1_1_bootstrap:$MONO_PATH" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mono/work/mon
Assembly ../../class/lib/default/Accessibility.dll signed.
Stacktrace:
  at (wrapper managed-to-native) System.Array.GetLowerBound (int) <0x00004>
  at (wrapper managed-to-native) System.Array.GetLowerBound (int) <0xffffffff>
  at System.Array.Clear (System.Array,int,int) <0x0002f>                      
  at System.Security.Cryptography.CryptoStream.Dispose (bool) <0x00033>
  at System.Security.Cryptography.CryptoStream.Finalize () <0x00016>   
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
make[8]: *** [../../class/lib/default/Accessibility.dll] Error 1                                          
make[7]: *** [do-all] Error 2                                   
make[6]: *** [all-recursive] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [profile-do--default--all] Error 2
make[3]: *** [profiles-do--all] Error 2
make[2]: *** [all-local] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

This is on OS X Tiger with XCode 2.4:

$ uname -a
Darwin arto.local 8.9.1 Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007; root:xnu-792.18.15~1/RELEASE_I386 i386 i386

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5363.obj~28/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5363)

$ port --version
MacPorts 1.5

Change History (3)

comment:1 Changed 17 years ago by nox@…

Cc: mww@… added
Priority: BlockerNormal
Version: 1.5

comment:2 Changed 17 years ago by mww@…

Resolution: fixed
Status: newclosed

did you perhaps have a previous version of mono installed? (Someone had a similar problem with a new version of mono accidently using an installed version of mcs - and failing to compile)

If this hasn't already been fixed upstream (for 1.2.5) please re-open this ticket!

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.