[Mono-list] NAnt hangs under fakeroot

Robert Jordan robertj at gmx.net
Fri Mar 30 20:16:45 EDT 2007


Frederik Carlier wrote:
> Does anyone have a suggestions as how to debug this? What can I look at
> to determine if it's NAnt waiting for something, a Mono bug, or ...?

Try this:

mkdir /tmp/fakeroot-wapi
MONO_SHARED_DIR=/tmp/fakeroot-wapi fakeroot ...

Otherwise mono would try to write to /root/.wapi/ because
fakeroot doesn't fake the pwent functions that Mono is using
to obtain the home directory.

Robert


> 
> Thanks!
> 
> Frederik
> 
> Frederik Carlier schreef:
>> Hi,
>>
>> I'm trying to get Open Dental 4.7 to compile on a dedicated build
>> machine, which runs Debian Sarge (stable). When running NAnt under the
>> fakeroot process, weird things happen. (Inside a VM)
>>
>> Basically, NAnt just hangs -- generally at the build task, but there
>> seems to be a certain degree of randomness involved. The CPU usage drops
>> to 0% user, 99.7% idle. ps -A shows 6 running mono processes.
>>
>> I've tried running NAnt with the verbose and debug parameters, and
>> passing the --debug parameter to mono, but I couldn't extract any useful
>> information.
>>
>> Is there anyway I can debug an solve this problem? The sourecode for OD
>> is available at
>> https://70.90.133.65:23793/svn/opendental/opendental4.7/, and the issue
>> can be reproduced by running "fakeroot nant" at the command prompt.
>>
>> Frederik.
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>   
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



More information about the Mono-list mailing list