[Mono-bugs] [Bug 672841] New: gmcs taking Linux path as command-line option in today's SVN
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Feb 16 19:08:17 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=672841
https://bugzilla.novell.com/show_bug.cgi?id=672841#c0
Summary: gmcs taking Linux path as command-line option in
today's SVN
Classification: Mono
Product: Mono: Compilers
Version: SVN
Platform: x86-64
OS/Version: Ubuntu
Status: NEW
Severity: Critical
Priority: P5 - None
Component: C#
AssignedTo: msafar at novell.com
ReportedBy: john.costella at petermac.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.13
(KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13
Today's SVN build is taking a Linux full path as a DOS command-line option.
Happened today -- MonoDevelop can't build anything due to this.
Reproducible: Always
Steps to Reproduce:
1. Sample code: test.cs
using System;
class Test
{
public static void Main()
{
Console.WriteLine("Hi");
}
}
2. See following:
[mono-GIT] ~ # gmcs test.cs
[mono-GIT] ~ # gmcs /home/john/test.cs
error CS2007: Unrecognized command-line option: `/home/john/test.cs'
[mono-GIT] ~ # gmcs "/home/john/test.cs"
error CS2007: Unrecognized command-line option: `/home/john/test.cs'
Alternatively: open any project in MonoDevelop.
=============
Build results:
Building: KaplanMeier (Debug|x86)
Performing main compilation...
/opt/mono-git/bin/gmcs /noconfig
"/out:/home/john/src/petermac/Applications/KaplanMeier/KaplanMeier/bin/Debug/KaplanMeier.exe"
"/r:/opt/mono-git/lib/mono/2.0/System.dll"
"/r:/opt/mono-git/lib/mono/2.0/System.Drawing.dll"
"/r:/opt/mono-git/lib/mono/2.0/System.Core.dll" /nologo /warn:4 /debug:+
/debug:full /optimize- /codepage:utf8 /platform:x86 "/define:DEBUG" /t:exe
"/home/john/src/petermac/Applications/KaplanMeier/KaplanMeier/Main.cs"
"/home/john/src/petermac/Applications/KaplanMeier/KaplanMeier/AssemblyInfo.cs"
"/home/john/src/petermac/Costella/Csv.cs"
"/home/john/src/petermac/Costella/Survival.cs"
error CS2007: Unrecognized command-line option:
`/home/john/src/petermac/Applications/KaplanMeier/KaplanMeier/Main.cs'
Build complete -- 1 error, 0 warnings
---------------------- Done ----------------------
Build: 1 error, 0 warnings
Actual Results:
No compilation
Expected Results:
Compliation
MonoDevelop seems to output the full path name to gmcs. Earlier versions
interpret it as a filename. Today's SVN seems to think it's getting a DOS-type
command-line option.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list