[Mono-bugs] [Bug 56599][Wis] New - mcs compile hangs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 7 Apr 2004 02:09:34 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by joshhelmer@cox.net.

http://bugzilla.ximian.com/show_bug.cgi?id=56599

--- shadow/56599	2004-04-07 02:09:34.000000000 -0400
+++ shadow/56599.tmp.23458	2004-04-07 02:09:34.000000000 -0400
@@ -0,0 +1,89 @@
+Bug#: 56599
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: Gentoo Linux - 2.6.3-gentoo-r1 kernel with NTPL
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: joshhelmer@cox.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs compile hangs 
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing. 
+Description of Problem: 
+When trying to emerge mono 0.31 under gentoo the compilation process just 
+hangs while trying to compile mcs.   
+ 
+Steps to reproduce the problem: 
+1. emerge mono and wait... 
+2.  
+3.  
+ 
+Actual Results: 
+The emerge just hangs 
+ 
+Expected Results: 
+It should install mono! 
+ 
+ 
+How often does this happen?  
+Every time. 
+ 
+Additional Information: 
+Here is the actual make output: 
+ 
+make[3]: Leaving directory 
+`/var/tmp/portage/mono-0.31/work/mcs-0.31/class/I18N/Common' 
+make[3]: Entering directory 
+`/var/tmp/portage/mono-0.31/work/mcs-0.31/class/I18N/West' 
+Creating ../../../build/deps/I18N.West.dll.makefrag ... 
+make[3]: Leaving directory 
+`/var/tmp/portage/mono-0.31/work/mcs-0.31/class/I18N/West' 
+make[3]: Entering directory 
+`/var/tmp/portage/mono-0.31/work/mcs-0.31/class/I18N/West' 
+touch ../../../build/deps/I18N.West.dll.stamp 
+MONO_PATH="../../../class/lib:
+$MONO_PATH" /var/tmp/portage/mono-0.31/work/mono-0.31/mono/mini/mono  ../../../mcs/mcs.exe /r:mscorlib.dll /r:I18N.dll  
+-d:NET_1_1 -d:ONLY_1_1 
+-g /noconfig  /target:library /out:../../../class/lib/I18N.West.dll 
+@I18N.West.dll.sources 
+ 
+I attached an strace process to this and got the following: 
+ 
+gettimeofday({1081315818, 419940}, NULL) = 0 
+futex(0x412134a8, FUTEX_WAKE, 1)        = 0 
+clock_gettime(0, {1081315818, 420026000}) = 0 
+futex(0x412134d0, FUTEX_WAIT, 33283, {0, 98974000}) = -1 ETIMEDOUT 
+(Connection timed out) 
+gettimeofday({1081315818, 519927}, NULL) = 0 
+futex(0x412134a8, FUTEX_WAKE, 1)        = 0 
+clock_gettime(0, {1081315818, 520017000}) = 0 
+futex(0x412134d0, FUTEX_WAIT, 33284, {0, 98983000}) = -1 ETIMEDOUT 
+(Connection timed out) 
+gettimeofday({1081315818, 619922}, NULL) = 0 
+futex(0x412134a8, FUTEX_WAKE, 1)        = 0 
+clock_gettime(0, {1081315818, 620011000}) = 0 
+futex(0x412134d0, FUTEX_WAIT, 33285, {0, 98989000}) = -1 ETIMEDOUT 
+(Connection timed out) 
+gettimeofday({1081315818, 721097}, NULL) = 0 
+futex(0x412134a8, FUTEX_WAKE, 1)        = 0 
+clock_gettime(0, {1081315818, 721404000}) = 0 
+futex(0x412134d0, FUTEX_WAIT, 33286, {0, 99596000} <unfinished ...> 
+Process 12806 detached 
+ 
+I suspect that you have a deadlock somewhere.   
+ 
+I am completely unable to emerge mono because of this, but I found that I 
+can go into the /var/tmp/portage/mono/work directory and compile mcs 
+myself.  When I do this, it still hangs, but when that occurs I can 
+Ctrl+C the process and start over.  It will usually make it past the 
+problematic file, but then hang again later on another file.  After about 
+5 times I finally get the whole thing compiled...