Bugs item #2035912, was opened at 2008-08-02 14:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
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)

----------------------------------------------------------------------

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

Reply via email to