Bug 55229 - mono compiles but failes to install
|
Bug#:
55229
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: dotnet@gentoo.org
|
Reported By: hlobil@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: mono compiles but failes to install
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-06-26 05:52 0000
|
ommons.Xml.Relaxng installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./cscompmgd.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/cscompmgd.dll ->
/usr/lib/mono/gac/cscompmgd/7.0.5000.0__b03f5f7f11d50a3a/cscompmgd.dll
cscompmgd installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.CJK.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.CJK.dll ->
/usr/lib/mono/gac/I18N.CJK/1.0.5000.0__0738eb9f132ed756/I18N.CJK.dll
I18N.CJK installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.dll ->
/usr/lib/mono/gac/I18N/1.0.5000.0__0738eb9f132ed756/I18N.dll
I18N installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.MidEast.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.MidEast.dll ->
/usr/lib/mono/gac/I18N.MidEast/1.0.5000.0__0738eb9f132ed756/I18N.MidEast.dll
I18N.MidEast installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.Other.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.Other.dll ->
/usr/lib/mono/gac/I18N.Other/1.0.5000.0__0738eb9f132ed756/I18N.Other.dll
I18N.Other installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.Rare.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.Rare.dll ->
/usr/lib/mono/gac/I18N.Rare/1.0.5000.0__0738eb9f132ed756/I18N.Rare.dll
I18N.Rare installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.West.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.West.dll ->
/usr/lib/mono/gac/I18N.West/1.0.5000.0__0738eb9f132ed756/I18N.West.dll
I18N.West installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./IBM.Data.DB2.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/IBM.Data.DB2.dll ->
/usr/lib/mono/gac/IBM.Data.DB2/1.0.1625.36400__7c307b91aa13d208/IBM.Data.DB2.dll
IBM.Data.DB2 installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./ICSharpCode.SharpZipLib.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/ICSharpCode.SharpZipLib.dll
->
/usr/lib/mono/gac/ICSharpCode.SharpZipLib/0.6.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll
ICSharpCode.SharpZipLib installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
make[3]: *** [install-data-local] Error 1ommons.Xml.Relaxng installed into the
gac (/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./cscompmgd.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/cscompmgd.dll ->
/usr/lib/mono/gac/cscompmgd/7.0.5000.0__b03f5f7f11d50a3a/cscompmgd.dll
cscompmgd installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.CJK.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.CJK.dll ->
/usr/lib/mono/gac/I18N.CJK/1.0.5000.0__0738eb9f132ed756/I18N.CJK.dll
I18N.CJK installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.dll ->
/usr/lib/mono/gac/I18N/1.0.5000.0__0738eb9f132ed756/I18N.dll
I18N installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.MidEast.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.MidEast.dll ->
/usr/lib/mono/gac/I18N.MidEast/1.0.5000.0__0738eb9f132ed756/I18N.MidEast.dll
I18N.MidEast installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.Other.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.Other.dll ->
/usr/lib/mono/gac/I18N.Other/1.0.5000.0__0738eb9f132ed756/I18N.Other.dll
I18N.Other installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.Rare.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.Rare.dll ->
/usr/lib/mono/gac/I18N.Rare/1.0.5000.0__0738eb9f132ed756/I18N.Rare.dll
I18N.Rare installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./I18N.West.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/I18N.West.dll ->
/usr/lib/mono/gac/I18N.West/1.0.5000.0__0738eb9f132ed756/I18N.West.dll
I18N.West installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./IBM.Data.DB2.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/IBM.Data.DB2.dll ->
/usr/lib/mono/gac/IBM.Data.DB2/1.0.1625.36400__7c307b91aa13d208/IBM.Data.DB2.dll
IBM.Data.DB2 installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
MONO_PATH=. ../../mono/interpreter/mint --config ../../data/config
./../gacutil.exe /i ./ICSharpCode.SharpZipLib.dll /f /package 1.0 /root
/var/tmp/portage/mono-0.96/image//usr/lib
Package exported to:
/var/tmp/portage/mono-0.96/image//usr/lib/mono/1.0/ICSharpCode.SharpZipLib.dll
->
/usr/lib/mono/gac/ICSharpCode.SharpZipLib/0.6.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll
ICSharpCode.SharpZipLib installed into the gac
(/var/tmp/portage/mono-0.96/image//usr/lib/mono/gac)
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory
`/var/tmp/portage/mono-0.96/work/mono-0.96/runtime/net_1_1'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/mono-0.96/work/mono-0.96/runtime/net_1_1'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mono-0.96/work/mono-0.96/runtime'
make: *** [install-recursive] Error 1
!!! ERROR: dev-dotnet/mono-0.96 failed.
!!! Function src_install, Line 45, Exitcode 2
!!! (no error message)
make[3]: Leaving directory
`/var/tmp/portage/mono-0.96/work/mono-0.96/runtime/net_1_1'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/mono-0.96/work/mono-0.96/runtime/net_1_1'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mono-0.96/work/mono-0.96/runtime'
make: *** [install-recursive] Error 1
!!! ERROR: dev-dotnet/mono-0.96 failed.
!!! Function src_install, Line 45, Exitcode 2
!!! (no error message)
Another gac issue report?
try "emerge -C mono" and recompile it.
*** Bug 55361 has been marked as a duplicate of this bug. ***
I'm having a similar problem, mono compiles, but doesn't install. However, this
is on a clean system, mono isn't installed.
/bin/install -c -m 644 mcs.exe
/var/tmp/portage/mono-0.97/image//usr/lib/mono/1.0//mcs.exe
/bin/install -c -m 644 mbas.exe
/var/tmp/portage/mono-0.97/image//usr/lib/mono/1.0//mbas.exe
/bin/sh ../mkinstalldirs /var/tmp/portage/mono-0.97/image//usr/lib/mono/2.0/
mkdir -p -- /var/tmp/portage/mono-0.97/image//usr/lib/mono/2.0/
/bin/install -c -m 644 gmcs.exe
/var/tmp/portage/mono-0.97/image//usr/lib/mono/2.0//gmcs.exe
make[3]: Leaving directory `/var/tmp/portage/mono-0.97/work/mono-0.97/runtime'
make[2]: Leaving directory `/var/tmp/portage/mono-0.97/work/mono-0.97/runtime'
Making install in net_1_1
make[2]: Entering directory
`/var/tmp/portage/mono-0.97/work/mono-0.97/runtime/net_1_1'
make[3]: Entering directory
`/var/tmp/portage/mono-0.97/work/mono-0.97/runtime/net_1_1'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /var/tmp/portage/mono-0.97/image//usr/lib
/bin/install -c -m 644 mscorlib.dll
/var/tmp/portage/mono-0.97/image//usr/lib/mscorlib.dll
MONO_PATH=. ../../mono/mini/mono ./../gacutil.exe /i ./Accessibility.dll /f
/package 1.0 /gacdir /var/tmp/portage/mono-0.97/image//usr/lib /root
/var/tmp/portage/mono-0.97/image//usr/lib
Unhandled Exception: System.DllNotFoundException: libc
in <0x00053> (wrapper managed-to-native) Mono.Tools.Driver:symlink
(string,string)
in <0x0001b> Mono.Tools.Driver:Symlink (string,string)
in <0x005ef> Mono.Tools.Driver:Install
(bool,string,string,string,string,string,string)
in <0x0063e> Mono.Tools.Driver:Main (string[])
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory
`/var/tmp/portage/mono-0.97/work/mono-0.97/runtime/net_1_1'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/var/tmp/portage/mono-0.97/work/mono-0.97/runtime/net_1_1'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mono-0.97/work/mono-0.97/runtime'
make: *** [install-recursive] Error 1
!!! ERROR: dev-dotnet/mono-0.97 failed.
!!! Function src_install, Line 53, Exitcode 2
!!! (no error message)
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r6)
=================================================================
System uname: 2.6.7-gentoo-r6 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mfpmath=sse,387 -fomit-frame-pointer -ftracer -O2
-pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mfpmath=sse,387 -fomit-frame-pointer -ftracer -O2
-pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink sandbox"
GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.rhnet.is/gentoo-portage"
USE="3dnow X acpi alsa avi cdr cups dga encode esd faad fam fbcon flac
foomatidb gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imlib jpeg mad mmx
moznocompose moznoirc moznomail mozsvg mpeg ncurses nls nptl offensive
oggvorbis opengl pam perl pic png python quicktime readline samba sdl sse ssl
svga truetype unicode v4l v4l2 wxwindows x86 xml xml2 xv xvid zlib"
Grr.. okay the libc problem i think is a result of /etc/mono/config not being
around to provide the proper mapping to find libc.. I'm testing now after
moving that file away to confirm this is the issue.
Yup, that was the problem. Added a --config argument so it found the config
file with the mappings. Please rsync in a bit and try again. Report back
success/failure and hopefully i can mark this FIXED.
Should I emerge other files? This is for mono 1.0.
Making install in net_1_1
make[2]: Entering directory `/var/tmp/portage/mono-1.0/work/mono-1.0/runtime/net_1_1'
make[3]: Entering directory `/var/tmp/portage/mono-1.0/work/mono-1.0/runtime/net_1_1'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /var/tmp/portage/mono-1.0/image//usr/lib
/bin/install -c -m 644 mscorlib.dll /var/tmp/portage/mono-1.0/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/image//usr/lib
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer fo r System.IO.Path ---> System.NullReferenceException: Null Reference (SIGSEGV)
#0: 0x00000 in System.Char:ToString () ()
#1: 0x00016 call in System.IO.Path:.cctor () ()
#2: 0x0000b ldsfld.o in System.IO.FileSystemInfo:CheckPath (string) (0x5c4d20 [0x5d0f30] )
#3: 0x00008 vcallvirt in System.IO.DirectoryInfo:.ctor (string) (0x5c4d20 [0x5d0f30] )
#4: 0x00005 newobj in Mono.Tools.Driver:EnsureLib (string) ([0x5d0f30] )
#5: 0x00197 call in Mono.Tools.Driver:Main (string[]) ([0x5ceee0] )
--- End of inner exception stack trace ---
#0: 0x0000b ldsfld.o in System.IO.FileSystemInfo:CheckPath (string) (0x5c4d20 [0x5d0f30] )
#1: 0x00008 vcallvirt in System.IO.DirectoryInfo:.ctor (string) (0x5c4d20 [0x5d0f30] )
#2: 0x00005 newobj in Mono.Tools.Driver:EnsureLib (string) ([0x5d0f30] )
#3: 0x00197 call in Mono.Tools.Driver:Main (string[]) ([0x5ceee0] )
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/var/tmp/portage/mono-1.0/work/mono-1.0/runtime/net_1_1'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/mono-1.0/work/mono-1.0/runtime/net_1_1'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mono-1.0/work/mono-1.0/runtime'
make: *** [install-recursive] Error 1
!!! ERROR: dev-dotnet/mono-1.0 failed.
!!! Function src_install, Line 42, Exitcode 2
!!! (no error message)
Marking FIXED, that problem is an amd64 problem as reported in bug #55722.
Please follow that bug for details of that problem. thanks.