← Back to team overview

registry team mailing list archive

[Bug 602613] Re: xbuild fails with "Argument is out of range"

 

Launchpad has imported 8 comments from the remote bug at
https://bugzilla.novell.com/show_bug.cgi?id=485841.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-03-17T01:22:26+00:00 Eugeny-grishul wrote:

User-Agent:       Opera/9.63 (Windows NT 6.0; U; ru) Presto/2.1.1

NObjective <http://code.google.com/p/nobjective/> sources can't be
compiled with gmcs shipped with 2.4 RC3 version - segfault is happen.
It didn't happen with gmcs shipped with Mono 2.0 and Mono 2.2.


Reproducible: Always

Steps to Reproduce:
1. checkout latest sources: svn checkout http://nobjective.googlecode.com/svn/trunk/ nobjective
2. run "nant perftests_leopard" or "gmcs -unsage *.cs Tracing/*.cs"
Actual Results:  
segfault is happen

Expected Results:  
compiled assembly

Reply at: https://bugs.launchpad.net/mono/+bug/602613/comments/0

------------------------------------------------------------------------
On 2009-06-13T05:19:33+00:00 Eugeny-grishul wrote:

I found that first bad exception raised from pending.cs at line 190:
...
mi = t.GetMethods ();
...
Maybe it will helps to locate problem.

Reply at: https://bugs.launchpad.net/mono/+bug/602613/comments/1

------------------------------------------------------------------------
On 2009-06-14T23:40:08+00:00 Miguel de Icaza wrote:

To accelerate the response to the bug, please provide a small, self
contained test case.

Reply at: https://bugs.launchpad.net/mono/+bug/602613/comments/2

------------------------------------------------------------------------
On 2009-07-07T00:09:59+00:00 Eugeny-grishul wrote:

Original bug was related with this one:
https://bugzilla.novell.com/show_bug.cgi?id=504667

But now there is another error - nant incorrectly configured.
After `nant -debug` I have following log (also I tried to build another projects, but error log is same):

BUILD FAILED

Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target framework.

    Unable to locate 'mono' module using pkg-config. Download the Mono
development packages from http://www.mono-project.com/downloads/.

Stacktrace:

Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target framework.:
NAnt.Core.BuildException: Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target framework. ---> Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.
no-project.com/downloads/.:
NAnt.Core.BuildException: Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.
  at NAnt.Core.Tasks.FailTask.ExecuteTask () [0x00000]
  at NAnt.Core.Task.Execute () [0x00000]
  --- End of inner exception stack trace ---
  at NAnt.Core.FrameworkInfo.Init () [0x00000]
  at NAnt.Core.FrameworkInfo.Validate () [0x00000]
  at NAnt.Core.ProjectSettingsLoader.ConfigureRuntimeFramework () [0x00000]

Try 'nant -help' for more information

Reply at: https://bugs.launchpad.net/mono/+bug/602613/comments/3

------------------------------------------------------------------------
On 2009-07-07T15:31:56+00:00 Gert-driesen wrote:

You need to add the directory containing mono.pc to PKG_CONFIG_PATH.

Reply at: https://bugs.launchpad.net/mono/+bug/602613/comments/4

------------------------------------------------------------------------
On 2009-07-07T17:13:37+00:00 Eugeny-grishul wrote:

Adding right path to PKG_CONFIG_PATH didn't solve problem coz mono have
glib .pc dependencies that not present in same directory (see mono.pc).
Only commenting line with dependencies can fix problem but I suspect
it's not good way.

Reply at: https://bugs.launchpad.net/mono/+bug/602613/comments/5

------------------------------------------------------------------------
On 2010-05-19T16:13:10+00:00 Msafar wrote:

gmcs seems to compile it fine, the only issue is with xbuild

xbuild produces errors like this

Error building project /home/marek/svn/temp/nobjective-read-
only/NObjective.csproj: /home/marek/svn/temp/nobjective-read-
only/NObjective.csproj: Argument is out of range.

Reply at: https://bugs.launchpad.net/mono/+bug/602613/comments/6

------------------------------------------------------------------------
On 2010-05-28T08:35:49+00:00 Jankit wrote:

Fixed in svn r158081.

Reply at: https://bugs.launchpad.net/mono/+bug/602613/comments/7


** Changed in: mono
       Status: Unknown => Fix Released

** Bug watch added: Novell/SUSE Bugzilla #504667
   https://bugzilla.novell.com/show_bug.cgi?id=504667

-- 
xbuild fails with "Argument is out of range"
https://bugs.launchpad.net/bugs/602613
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for mono.