[Mono-bugs] [Bug 79995][Nor] New - nant randomly fails on x86_64 linux

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Nov 20 20:23:23 EST 2006

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 wberrier at novell.com.


--- shadow/79995	2006-11-20 20:23:23.000000000 -0500
+++ shadow/79995.tmp.24361	2006-11-20 20:23:23.000000000 -0500
@@ -0,0 +1,71 @@
+Bug#: 79995
+Product: Mono: Runtime
+Version: 1.2
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: wberrier at novell.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: nant randomly fails on x86_64 linux
+To reproduce:
+keep running:
+make clean
+Until this error shows up:
+NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
+Copyright (C) 2001-2006 Gerry Shaw
+The current runtime framework 'mono-2.0' is not correctly configured in the
+NAnt configuration file.
+    Function call failed.
+Expression: ${path::combine(prefix, 'lib/mono/1.0')}
+              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+        Illegal characters in path
+Parameter name: path1
+For more information regarding the cause of the build failure, run the
+build again in debug mode.
+Try 'nant -help' for more information
+make: *** [build-nant] Error 1
+I've tracked it down to:
+so far, and changed inside of RunPkgConfigString:
+string output = sr.ReadLine();
+string output = sr.ReadLine().Replace("\x00", "");
+For some reason, this ReadLine is randomly prepending many hex chars ('00')
+in front, which is returned by the nant task pkg-config::get-variable,
+causing path::combine in NAnt.exe.config to fail.
+Don't think it's a nant bug since in only happens on non x86 platforms. 
+(Seen so far on x86_64, ia64, which are the most common, and once on ppc).

More information about the mono-bugs mailing list