Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 55393
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: dotnet <dotnet@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Richard Torkar <richard.torkar@htu.se>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mono-0.97.ebuild Fixed mono ebuild text/plain Peter Johanson (RETIRED) 2004-06-28 08:40 0000 1.76 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 55393 depends on: Show dependency tree
Bug 55393 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-28 02:14 0000
It's added but it bails during the make install part...

I did an "emerge unmerge mono" first and then "emerge mono" and at the end of the compilation it starts to do a make install and this happens:

make[3]: Entering directory `/var/tmp/portage/mono-0.97/work/mono-0.97/runtime'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /var/tmp/portage/mono-0.97/image//usr/bin
 /bin/install -c -m 644 monoresgen.exe /var/tmp/portage/mono-0.97/image//usr/bin/monoresgen.exe
 /bin/install -c -m 644 secutil.exe /var/tmp/portage/mono-0.97/image//usr/bin/secutil.exe
 /bin/install -c -m 644 ilasm.exe /var/tmp/portage/mono-0.97/image//usr/bin/ilasm.exe
 /bin/install -c -m 644 cilc.exe /var/tmp/portage/mono-0.97/image//usr/bin/cilc.exe
 /bin/install -c -m 644 xsd.exe /var/tmp/portage/mono-0.97/image//usr/bin/xsd.exe
 /bin/install -c -m 644 wsdl.exe /var/tmp/portage/mono-0.97/image//usr/bin/wsdl.exe
 /bin/install -c -m 644 genxs.exe /var/tmp/portage/mono-0.97/image//usr/bin/genxs.exe
 /bin/install -c -m 644 al.exe /var/tmp/portage/mono-0.97/image//usr/bin/al.exe
 /bin/install -c -m 644 disco.exe /var/tmp/portage/mono-0.97/image//usr/bin/disco.exe
 /bin/install -c -m 644 sqlsharp.exe /var/tmp/portage/mono-0.97/image//usr/bin/sqlsharp.exe
 /bin/install -c -m 644 signcode.exe /var/tmp/portage/mono-0.97/image//usr/bin/signcode.exe
 /bin/install -c -m 644 chktrust.exe /var/tmp/portage/mono-0.97/image//usr/bin/chktrust.exe
 /bin/install -c -m 644 soapsuds.exe /var/tmp/portage/mono-0.97/image//usr/bin/soapsuds.exe
 /bin/install -c -m 644 monop.exe /var/tmp/portage/mono-0.97/image//usr/bin/monop.exe
 /bin/install -c -m 644 mono-find-provides.exe /var/tmp/portage/mono-0.97/image//usr/bin/mono-find-provides.exe
 /bin/install -c -m 644 mono-find-requires.exe /var/tmp/portage/mono-0.97/image//usr/bin/mono-find-requires.exe
 /bin/install -c -m 644 setreg.exe /var/tmp/portage/mono-0.97/image//usr/bin/setreg.exe
 /bin/install -c -m 644 cert2spc.exe /var/tmp/portage/mono-0.97/image//usr/bin/cert2spc.exe
 /bin/install -c -m 644 certmgr.exe /var/tmp/portage/mono-0.97/image//usr/bin/certmgr.exe
 /bin/install -c -m 644 MakeCert.exe /var/tmp/portage/mono-0.97/image//usr/bin/MakeCert.exe
 /bin/install -c -m 644 gacutil.exe /var/tmp/portage/mono-0.97/image//usr/bin/gacutil.exe
 /bin/install -c -m 644 sn.exe /var/tmp/portage/mono-0.97/image//usr/bin/sn.exe
/bin/sh ../mkinstalldirs /var/tmp/portage/mono-0.97/image//usr/lib/mono/1.0/
mkdir -p -- /var/tmp/portage/mono-0.97/image//usr/lib/mono/1.0/
 /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=. /var/tmp/portage/mono-0.97/image//usr/bin/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
/var/tmp/portage/mono-0.97/image//usr/bin/mono: error while loading shared libraries: libmono.so.0: cannot open shared object file: No such file or directory
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 45, Exitcode 2
!!! (no error message)


Is it my system only that behaves this way?

------- Comment #1 From Richard Torkar 2004-06-28 02:51:47 0000 -------
Since nothing has changed (more or less) between the previous ebuild and this
one I believe that either:
a) mono has changed something in the install routine or,
b) the previous installations worked since I perhaps did _not_ do an "emerge
unmerge mono" before installing a new version of mono.

Regarding b), mono probably used the libmono.so.0 that was installed on the
system, while in this case there was no libmono.so.0 installed.

------- Comment #2 From Richard Torkar 2004-06-28 03:12:29 0000 -------
The mono-0.96 ebuild works on a clean system (i.e. doing "emerge unmerge mono"
first). Something has changed in the mono makefile stuff?

If I have 0.96 installed and then simply do a: emerge -u mono (to install 0.97)
it compiles and installs correctly.

So a quick fix is to make sure you have 0.96 installed before upgrading to
0.97.

------- Comment #3 From Peter Johanson (RETIRED) 2004-06-28 04:47:02 0000 -------
Well ugh. Definitely sounds like some of the makefiles changed. I'll dig
through some diffs and try to find where the breakage was introduced.

------- Comment #4 From Richard Torkar 2004-06-28 06:39:45 0000 -------
Peter, I saw the the mail on mono-devel-list regarding this.
(http://lists.ximian.com/archives/public/mono-devel-list/2004-June/006675.html)

A simple patch to fix this in this ebuild maybe? 

------- Comment #5 From Peter Johanson (RETIRED) 2004-06-28 08:15:57 0000 -------
Yeah, i'm testing a fix now, but mono takes a bit to build on my thinkpad. (:

------- Comment #6 From Peter Johanson (RETIRED) 2004-06-28 08:40:23 0000 -------
Created an attachment (id=34334) [details]
Fixed mono ebuild

Okay, here is a fixed ebuild that uses the mono runtime from the included
package like 0.96 used to do. WORKSFORME, but i want one more confirmation
before commiting it.

------- Comment #7 From Richard Torkar 2004-06-28 08:59:47 0000 -------
Works for me[tm].

Good work Peter.

------- Comment #8 From Peter Johanson (RETIRED) 2004-06-28 09:05:25 0000 -------
Okay, the fix is commited. Marking FIXED, please reopen if people continue to
experience problems.

------- Comment #9 From Sebastian Bergmann (RETIRED) 2004-06-29 09:26:14 0000 -------
Fresh installation, current ebuild:

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 50, Exitcode 2
!!! (no error message)

------- Comment #10 From Peter Johanson (RETIRED) 2004-06-29 10:11:25 0000 -------
Re: libc

See bug #55229. I just fixed this now. Please test and report back to *that* bug if it works/fails. Thanks.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug