Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61293 - Mono-1.0.1-r1 fails to install
Summary: Mono-1.0.1-r1 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
: 83234 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-22 13:26 UTC by Benjamin Schindler (RETIRED)
Modified: 2005-05-12 19:29 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Schindler (RETIRED) gentoo-dev 2004-08-22 13:26:29 UTC
When trying to install mono, I get the following error: 

make[2]: Entering directory `/var/tmp/portage/mono-1.0.1-r1/work/mono-1.0.1/runtime/net_1_1'
make[3]: Entering directory `/var/tmp/portage/mono-1.0.1-r1/work/mono-1.0.1/runtime/net_1_1'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /var/tmp/portage/mono-1.0.1-r1/image//usr/lib
 /bin/install -c -m 644 mscorlib.dll /var/tmp/portage/mono-1.0.1-r1/image//usr/lib/mscorlib.dll
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config ./../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /gacdir /usr/lib /root /var/tmp/portage/mono-1.0.1-r1/image//usr/lib
/bin/sh: line 1: 27976 Segmentation fault      MONO_PATH=. /bin/sh ../../libtool --mode=execute ../../mono/interpreter/mint --config ../../data/config ./../gacutil.exe /i ./$i /f /package 1.0 /gacdir /usr/lib /root /var/tmp/portage/mono-1.0.1-r1/image//usr/lib
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/var/tmp/portage/mono-1.0.1-r1/work/mono-1.0.1/runtime/net_1_1'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/mono-1.0.1-r1/work/mono-1.0.1/runtime/net_1_1'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mono-1.0.1-r1/work/mono-1.0.1/runtime'
make: *** [install-recursive] Error 1

The segmentation fault is ugly...
Comment 1 Gabriel Ebner 2004-12-14 06:31:18 UTC
I'm getting exactly the same error as you with mono-1.0.4-r1, also on amd64:

make[2]: Entering directory `/var/tmp/portage/mono-1.0.4-r1/work/mono-1.0.4/runtime/net_1_1'
make[3]: Entering directory `/var/tmp/portage/mono-1.0.4-r1/work/mono-1.0.4/runtime/net_1_1'
make[3]: F
Comment 2 Gabriel Ebner 2004-12-14 06:31:18 UTC
I'm getting exactly the same error as you with mono-1.0.4-r1, also on amd64:

make[2]: Entering directory `/var/tmp/portage/mono-1.0.4-r1/work/mono-1.0.4/runtime/net_1_1'
make[3]: Entering directory `/var/tmp/portage/mono-1.0.4-r1/work/mono-1.0.4/runtime/net_1_1'
make[3]: Für das Ziel »install-exec-am« ist nichts zu tun.
test -z "/usr/lib" || mkdir -p -- . "/var/tmp/portage/mono-1.0.4-r1/image//usr/lib"
 /bin/install -c -m 644 'mscorlib.dll' '/var/tmp/portage/mono-1.0.4-r1/image//usr/lib/mscorlib.dll'
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config ./../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /gacdir /usr/lib /root /var/tmp/portage/mono-1.0.4-r1/image//usr/lib
/bin/sh: line 1: 24998 Speicherzugriffsfehler  MONO_PATH=. /bin/sh ../../libtool --mode=execute ../../mono/interpreter/mint --config ../../data/config ./../gacutil.exe /i ./$i /f /package 1.0 /gacdir /usr/lib /root /var/tmp/portage/mono-1.0.4-r1/image//usr/lib
make[3]: *** [install-data-local] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/mono-1.0.4-r1/work/mono-1.0.4/runtime/net_1_1'
make[2]: *** [install-am] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/mono-1.0.4-r1/work/mono-1.0.4/runtime/net_1_1'
make[1]: *** [install-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/mono-1.0.4-r1/work/mono-1.0.4/runtime'
make: *** [install-recursive] Fehler 1

!!! ERROR: dev-dotnet/mono-1.0.4-r1 failed.
!!! Function src_install, Line 63, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2005-01-04 10:13:18 UTC
Can both of you please report the output of "emerge info"? Thanks.
Comment 4 Gabriel Ebner 2005-01-05 03:25:11 UTC
Portage 2.0.51-r8 (gcc34-amd64-2004.1, gcc-3.4.2, glibc-2.3.4.20041102-r0, 2.6.10-rc2-mm3 x86_64)
=================================================================
System uname: 2.6.10-rc2-mm3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 14 2004, 17:10:16)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.lug.ro/gentoo/ http://mirror.uni-c.dk/gentoo/ http://ftp.du.se/pub/os/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 16bit X a52 aac aalib accessibility acl acpi aim alsa apache2 ared aredmem async atlas auctex audiofile avi ba-completion bash-completion bcmath bdf beep berkdb bidi bitmap-fonts blas bluetooth bonobo bzip2 bzlib cairo camaelon cap caps cddb cdf cdparanoia cdr cdrom cgi chroot cjk client clisp cln cmucl crypt cscope cups curl dba dbase dbm dbx dga dillo dio divx4linux djbfft dlopen dnsdb doc droproot dts dv dvd dvdr dvdread edl eds emacs emacs-w3 encode erandom escreen estraier etwin exif f77 faac faad fam fastcgi fb fbcon fbdev festival ffmpeg fftw fla flac flatfile flexresp flood fluidsynth fmod font-server fortran fpx freetts freetype frlargefiles ftp fusion gb gcj gcl gd gdbm geoip gif gimp gimpprint ginac gkrellm glade glep glgd gmp gmtfull gmthigh gmtsuppl gmttria gnuplot gps graphviz gs gsl gstreamer gtk gtk2 guile hal iconv icq ieee1394 imap imlib imlib2 inifile intl ipv6 ithreads jbig jikes jp2 jpeg jpeg2k junit ladcca lapack latex lcms libsamplerate live lzo mad mailbox maildir maildrop mailwrapper makecheck maps matroska mbox mbrola mcal md5sum mdb mha mime ming mng motif mozdevelop moznocompose moznoirc moznomail mozsvg mozxmlterm mpeg mpeg4 mplayer msession msn multilib multislot ncurses network nls nntp no-old-linux nodrm nomotif nptl nptlonly ntlm objc ocaml oggvorbis opengl oscar pam pcap pcmcia pcntl pcre pda pdf pdflib perl php pic pie plotutils png ppds pthreads python qt readline recode rtc ruby samba sbcl scanner sdl serial session slang slp smime snmp soap sockets speex spell spl ssl svg sysvipc szip t1lib tcltk tcpmd5 tcsim tetex tga theora threads thumbnail tidy tiff tokenizer tpctlir transcode translator truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vim vnc wifi wxwin wxwindows xanim xface xml2 xosd xpm xprint xrandr xsl xv xvid xvmc yahoo yaz yv12 zlib zvbi"
Comment 5 Espen Fjellvær Olsen 2005-01-13 08:36:09 UTC
I'm also getting the same error
mint is segfaulting

emerge info gives this:
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-rc2-mm4 x86_64)
=================================================================
System uname: 2.6.10-rc2-mm4 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.6
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 30 2004, 18:49:21)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.9.3, 1.5, 1.7.9, 1.4_p6, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://mirror.gentoo.ru/pub/mirror/gentoo/"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/bmg-main.alternative"
SYNC="rsync://rsync.gentoo.no/gentoo-portage"
USE="amd64 X aalib acl acpi alsa arts berkdb bitmap-fonts chroot crypt cups dbus directfb divx4linux dvd dvdr emul-linux-x86 esd f77 fam font-server fortran ftp gdbm gif gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jp2 jpeg junit kde kerberos krb4 ldap lirc lzw lzw-tiff mad mikmod motif mpeg msn multilib ncurses network nls no-old-linux nptl nvidia offensive oggvorbis opengl oss pam perl png python qt readline samba scanner sdl slang ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 xml xml2 xmms xpm xrandr xv zlib"
Comment 6 Espen Fjellvær Olsen 2005-01-16 12:10:09 UTC
Added myself as CC
Comment 7 Anders Rune Jensen (RETIRED) gentoo-dev 2005-01-24 07:32:00 UTC
More info here: http://bugzilla.ximian.com/show_bug.cgi?id=61243

Comment 8 Anders Rune Jensen (RETIRED) gentoo-dev 2005-01-24 07:42:48 UTC
Seems this is duplicate of #55722. The fix seems to have been dropped?
Comment 9 Peter Johanson (RETIRED) gentoo-dev 2005-01-30 18:41:45 UTC
arj: No, it's a different issue. That SIGSEGV fix was commit to the mono tree, and is still there.

I'm going to need someone to try to get this going under gdb to find out where the segfault occurs, or run the command getting executed with the "--trace" option and try to pinpoint more closely where this error occurs. This is definitely amd64 specific, so i'm hard pressed to reproduce and debug here.

If people really want amd64 support, they should use the mono-1.1.x series though, as it actually has a working JIT for amd64.
Comment 10 jurrie 2005-02-07 09:38:25 UTC
Segfault here:

MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config ./../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /gacdir /usr/lib /root /var/tmp/portage/mono-1.0.5-r1/image//usr/lib
/bin/sh: line 1:  2479 Segmentation fault      MONO_PATH=. /bin
/sh ../../libtool --mode=execute ../../mono/interpreter/mint --config ../../data/config ./../gacutil.exe /i ./$i /f /package 1.0 /gacdir /usr/lib /root /var/tmp/portage/mono-1.0.5-r1/image//usr/lib

--------------
I'm kinda clueless about this, so I hope I added --trace the right way.. here's my output:

net_1_1 # MONO_PATH=. ../../mono/interpreter/mint --trace --config ../../data/config ./../gacutil.exe /i ./Accessibility.dll /f /package 1.0 /gacdir /usr/lib /root /var/tmp/portage/mono-1.0.5-r1/image//usr/lib
  (16384) Entering 00 System.OutOfMemoryException:.ctor (0x587ea0 [0x588fc0] )
    (16384) Entering 00 System.SystemException:.ctor (0x587ea0 [0x588fc0] )
      (16384) Entering 00 System.Exception:.ctor (0x587ea0 [0x588fc0] )
        (16384) Entering 00 System.Object:.ctor ()
        (16384) Leaving 00 System.Object:.ctor => 
        (16384) Entering 00 System.Object:GetType ()
          (16384) Entering 00 System.NullReferenceException:.ctor ()
            (16384) Entering 00 Locale:GetText ([0x58af00] )
            (16384) Leaving 00 Locale:GetText => [0x58af00] 
            (16384) Entering 00 System.SystemException:.ctor (0x587e40 [0x58af00] )
              (16384) Entering 00 System.Exception:.ctor (0x587e40 [0x58af00] )
                (16384) Entering 00 System.Object:.ctor ()
                (16384) Leaving 00 System.Object:.ctor => 
                (16384) Entering 00 System.Object:GetType ()
Segmentation fault

-----------------
emerge info:

Portage 2.0.51-r15 (default-linux/amd64/2BUILD, CTARGET, LANG, LDFLAGS004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-yavanna-r7 x86_64)
=================================================================
System uname: 2.6.10-yavanna-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 26 2005, 00:30:21)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.blueyonder.co.uk"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa berkdb bitmap-fonts cdr cjk crypt dvd esd f77 fam flac font-server fortran gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mad motif mozilla multilib ncurses nls oggvorbis opengl oss pam perl png python qt readline sdl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales xinerama xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS

--------------
since there's no 1.1.x ebuild and I know nothing about making one myself, I'm hoping for a fix for 1.0.5 ^^;
Comment 11 Peter Johanson (RETIRED) gentoo-dev 2005-02-07 09:43:15 UTC
I'm gunning to include the soon-to-be-released 1.1.4 in portage, to make life for amd64 users better.

Before I can do that I need to commit revisions of several ebuilds so they compile and function with the 1.1.x series. I hope to do that in the coming week, and then have 1.1.4 in the tree (initially p.masked, and potentially staying that way).

That should solve all the problems that amd64 users are having with mono, but we'll see.
Comment 12 Gabriel Ebner 2005-02-08 05:11:09 UTC
I don't believe 1.1.4 will fix this.  See http://bugs.ximian.com/show_bug.cgi?id=60576

Installing mono from svn fails here (amd64, gcc-3.4) unless I remove -fexceptions from line 61 of mono/libgc/configure.host

Though then it works really nice, even the JIT works.
Comment 13 Peter Johanson (RETIRED) gentoo-dev 2005-02-08 07:08:56 UTC
I'm painfully aware of that bug, and the ebuild is going to include the -fexceptions fix.

I've successfully tested some prelim 1.1.4 tarballs on one of the gentoo amd64 boxes, and mono and gtk-sharp install and (seem to) function fine.
Comment 14 Peter Johanson (RETIRED) gentoo-dev 2005-02-21 11:51:53 UTC
Ok, all you crazy amd64 users: mono-1.1.4 has hit the tree! It's in package.mask until further notice. Once i get a mono-1.0.x stable for x86 and ppc, I may remove the p.mask and leave that as the ~arch version. Until then, you should be able to use that and now use gtk-sharp, etc, etc,. PLEASE test. Thanks.
Comment 15 Peter Johanson (RETIRED) gentoo-dev 2005-02-24 14:27:24 UTC
*** Bug 83234 has been marked as a duplicate of this bug. ***
Comment 16 Mark D. 2005-02-25 18:05:20 UTC
Attempted install of masked mono-1.1.4:

System.Net.Configuration/DefaultProxyHandler.cs(60) warning CS0219: The variable 'deflt' is assigned but its value is never used
System.Net/IPEndPoint.cs(122) warning CS0219: The variable 'unknown' is assigned but its value is never used
System.Net.Sockets/Socket.cs(1171) warning CS0219: The variable 'opt_value_len' is assigned but its value is never used

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
in <0x0000f> (wrapper managed-to-native) System.Object:__icall_wrapper_mono_array_new_specific (intptr,int)
in <0x0031d> Mono.CSharp.Block:ResolveMeta (Mono.CSharp.ToplevelBlock,Mono.CSharp.EmitContext,Mono.CSharp.InternalParameters)
in <0x00acc> Mono.CSharp.Block:ResolveMeta (Mono.CSharp.ToplevelBlock,Mono.CSharp.EmitContext,Mono.CSharp.InternalParameters)
in <0x00acc> Mono.CSharp.Block:ResolveMeta (Mono.CSharp.ToplevelBlock,Mono.CSharp.EmitContext,Mono.CSharp.InternalParameters)
in <0x00acc> Mono.CSharp.Block:ResolveMeta (Mono.CSharp.ToplevelBlock,Mono.CSharp.EmitContext,Mono.CSharp.InternalParameters)

// Note, it shows this line:
in <0x00acc> Mono.CSharp.Block:ResolveMeta (Mono.CSharp.ToplevelBlock,Mono.CSharp.EmitContext,Mono.CSharp.InternalParameters)
// about 75 times!!, I've cut them out

in <0x000db> Mono.CSharp.EmitContext:ResolveTopBlock (Mono.CSharp.EmitContext,Mono.CSharp.ToplevelBlock,Mono.CSharp.InternalParameters,Mono.CSharp.Location,bool&)
in <0x00051> Mono.CSharp.EmitContext:EmitTopBlock (Mono.CSharp.ToplevelBlock,Mono.CSharp.InternalParameters,Mono.CSharp.Location)
in <0x004ee> Mono.CSharp.MethodData:Emit (Mono.CSharp.TypeContainer,Mono.CSharp.Attributable)
in <0x0003f> Mono.CSharp.Method:Emit ()
in <0x006df> Mono.CSharp.TypeContainer:EmitType ()
in <0x0056c> Mono.CSharp.RootContext:EmitCode ()
in <0x01230> Mono.CSharp.Driver:MainDriver (string[])
in <0x0001d> Mono.CSharp.Driver:Main (string[])

make[8]: *** [../../class/lib/basic/System.dll] Error 1
make[8]: Leaving directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs/class/System'
make[7]: *** [all.real] Error 2
make[7]: Leaving directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs/class/System'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mono-1.1.4/work/mono-1.1.4'
make: *** [all] Error 2

!!! ERROR: dev-dotnet/mono-1.1.4 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! MONO compilation failure
Comment 17 Simone Piunno 2005-02-26 03:35:08 UTC
mono-1.1.4 installs and runs just fine on my system.
And oh... it runs 10 times faster than mono 1.0

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 14:42:07)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=k8 -funit-at-a-time -frename-registers -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=k8 -funit-at-a-time -frename-registers -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks parallel-fetch sandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aalib acl acpi adns alsa apache2 app-crypt/gnupg:idea app-crypt/gpgme:smime arts artswrappersuid audiofile avi bash-completion berkdb bidi bigger-fonts bitmap-fonts bootsplash caps cdda cddb cdio cdparanoia cdr cluster crypt cups curl dba dev-dotnet/mono:nptl dev-util/eric:idl directfb divx4linux doc dts dv dvd dvdr dvdread encode esd f77 faad fam fbcon ffmpeg flac font-server fortran fpx freetype gd gdbm gdm gif gimpprint gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal httpd icq imagemagick imap imlib innodb ipv6 ithreads jabber jack java jbig jp2 jpeg jpeg2k junit kde kde-base/kdeadmin:foreign-package kde-base/kdeadmin:foreign-sysvinit kde-base/kdemultimedia:cdparanoia ladcca lcms ldap libcaca libwww live lzo lzw lzw-tiff mad maildir makecheck media-sound/museseq:fluidsynth mikmod motif mozilla mpeg multilib mysql ncurses net-misc/openssh:X509 net-misc/openssh:chroot net-misc/openssh:sftplogging net-misc/openssh:skey net-www/apache:threads net-www/mozilla-firefox:xprint net-www/mozilla:mozp3p net-www/mozilla:mozsvg network nls nptl nsl nvidia ogg oggvorbis openexr opengl oss pam pcre pdflib perl png python qt readline rrdtool rtc samba sasl sdl slang speex spell ssl stream svg sys-devel/libperl:threads tcltk tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vim-with-x vorbis wmf xine xml xml2 xmms xpm xprint xrandr xv xvid xvmc zeo zlib linguas_en linguas_it"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 18 Peter Johanson (RETIRED) gentoo-dev 2005-02-28 11:26:05 UTC
Mark: If you're on amd64, can you please post the output of "emerge info". If not on amd64, please open a new bug with the trace you posted, plus the emerge info output. I'd prefer not to have this be a catchall bug for 1.1.4, rather have it only for amd64 mono related issues. Thanks.
Comment 19 Sander Sweers 2005-03-01 15:52:30 UTC
1.1.4 build fine here, emerge info below.
******
infirit gtk-sharp # emerge info
Portage 2.0.51.18 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 08:09:25)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays /usr/local/overlays/bmg-main.alternative"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa avi berkdb bitmap-fonts cdparanoia cdr crypt cups curl divx4linux dvd dvdr encode esd f77 fbcon flac font-server fortran gif gnome gnutls gphoto2 gpm gstreamer gtk hal imlib ipv6 java jp2 jpeg libcaca live lzw lzw-tiff mad matroska motif mozilla mp3 mpeg multilib ncurses nls nptl oggvorbis opengl oss pam perl png python qt readline rtc sdl speex spell ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l2 xml2 xmms xpm xprint xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 20 Peter Johanson (RETIRED) gentoo-dev 2005-03-02 07:53:38 UTC
Mark: Please see bug #83770. Can you try with NPTL enabled? You'll need to re-emerge glibc, and then try emerging mono. Thanks.
Comment 21 Mark D. 2005-03-04 14:10:11 UTC
Hi Peter, I am here to report Mono 1.1.4 has successfully compiled on my amd64 box with NPTL enabled.
Comment 22 Tom Coleman 2005-03-26 01:02:20 UTC
I experienced the same behaviour with both 1.1.4 and 1.1.5 on my amd64 machine. nptl solved the problem.
Comment 23 Ioannis Aslanidis (RETIRED) gentoo-dev 2005-04-08 05:20:21 UTC
I have nptl enabled and 1.0.4 will not merge. For what I have seen, 1.1.4 and 1.1.6 have been masked for ~amd64... reasons?

- dev-lang/mono-1.1.5-r1 (masked by: package.mask)
# Peter Johanson <latexer@gentoo.org> (31 Mar 2005)
# Masking all 1.1* releases of mono and libgdiplus.
Comment 24 Peter Johanson (RETIRED) gentoo-dev 2005-05-06 07:40:02 UTC
Ioannis: mono-1.1.x is the testing snapshots of the upcoming mono-1.2 release. So far the 1.1.x has been phenomenally stable, but it mcs the compiler has become a lot stricter, so some applications in portage fail to compile, etc.

The main set back holding back removing that mask is one or two bugs for mono-1.1.x related to problems installing it. Once I get those dealt with, I'm eagerly awaiting removal of the mask.
Comment 25 Peter Johanson (RETIRED) gentoo-dev 2005-05-12 19:29:22 UTC
Ok, I've just removed mono-1.1.x from package.mask. Marking this FIXED, all amd64 users should be using that, and should be fine now. If anyone feels a need to re-open this, go for it. If you have a new issue though, please open a new bug. Thanks.