Bugs item #2035912, was opened at 2008-08-02 14:57 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2035912&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: 0.85 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jelmer Vernooij (ctrlsoft) Assigned to: Nobody/Anonymous (nobody) Summary: race condition on SMP system Initial Comment: nant behaves funny when run on SMP systems. The detection of Mono fails randomly, see this: [EMAIL PROTECTED]:~/data/projects/debian/pkg-cli-apps/nant/build-area/nant-0.85$ nant release NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006) Copyright (C) 2001-2006 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///home/meebey/data/projects/debian/pkg-cli-apps/nant/build-area/nant-0.85/NAnt.build Target framework: Mono 2.0 Profile Target(s) specified: release [tstamp] Monday, 26 May 2008 22:52:55. release: BUILD SUCCEEDED Total time: 0.1 seconds. [EMAIL PROTECTED]:~/data/projects/debian/pkg-cli-apps/nant/build-area/nant-0.85$ nant clean NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006) Copyright (C) 2001-2006 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///home/meebey/data/projects/debian/pkg-cli-apps/nant/build-area/nant-0.85/NAnt.build Target framework: Mono 2.0 Profile Target(s) specified: clean [tstamp] Monday, 26 May 2008 22:53:04. init: debug: set-framework-configuration: set-mono-2.0-framework-configuration: clean: BUILD SUCCEEDED Total time: 0.1 seconds. [EMAIL PROTECTED]:~/data/projects/debian/pkg-cli-apps/nant/build-area/nant-0.85$ nant release NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006) Copyright (C) 2001-2006 Gerry Shaw http://nant.sourceforge.net BUILD FAILED 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 [EMAIL PROTECTED]:~/data/projects/debian/pkg-cli-apps/nant/build-area/nant-0.85$ nant release NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006) Copyright (C) 2001-2006 Gerry Shaw http://nant.sourceforge.net BUILD FAILED 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 [EMAIL PROTECTED]:~/data/projects/debian/pkg-cli-apps/nant/build-area/nant-0.85$ nant release NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006) Copyright (C) 2001-2006 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///home/meebey/data/projects/debian/pkg-cli-apps/nant/build-area/nant-0.85/NAnt.build Target framework: Mono 2.0 Profile Target(s) specified: release [tstamp] Monday, 26 May 2008 22:53:24. release: BUILD SUCCEEDED Total time: 0.1 seconds. [EMAIL PROTECTED]:~/data/projects/debian/pkg-cli-apps/nant/build-area/nant-0.85$ As you can see the build sometimes work sometimes not. I believe the issue could be the parsing code of nant for the pkg-config files where it reads the Mono prefix from.... Calling nant with MONO_NO_SMP=1 in the environment workarounds this issue. (reported in Debian as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483073) ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2008-10-15 18:28 Message: This was fixed in revision 1.71 of ExternalProgramBase.cs: http://nant.cvs.sourceforge.net/viewvc/nant/nant/src/NAnt.Core/Tasks/ExternalProgramBase.cs?r1=1.70&r2=1.71 ---------------------------------------------------------------------- Comment By: Y Giridhar Appaji Nag (yganag) Date: 2008-10-15 09:10 Message: Gert, can you please point me to the fix in CVS? I would like to port it to the Debian package if possible (I tried to find out, but was lost). Since Debian is in a freeze right now, I am afraid a new upstream version is not suitable for upload (it would've been, had the changes from the two versions were small -- but that is not the case here). Thanks in advance for the help. ---------------------------------------------------------------------- Comment By: Gert Driesen (drieseng) Date: 2008-08-02 15:36 Message: Logged In: YES user_id=707851 Originator: NO This was fixed in NAnt 0.86 Beta 1. Can you try using that version, or a recent nightly build? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2035912&group_id=31650 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers