[Mono-bugs] [Bug 475438] New: xbuild dies badly if gmcs not installed

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Feb 12 17:53:34 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=475438


           Summary: xbuild dies badly if gmcs not installed
    Classification: Mono
           Product: Mono: Tools
           Version: 1.9
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: xbuild
        AssignedTo: jankit at novell.com
        ReportedBy: novell at paul.sladen.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


xbuild dies in an unhelpful fashion is 'gmcs' is not founding, subsequently
installing gmcs made xbuild die in a different, but more useful feedback.

Ideally xbuild should sanity check the availability and executability of the
programs it calls out to and die with a message such as "attempted to run '%s",
but executable not found (is it installed?).".


output from running 'xbuild' on OpenBve virgin tarball:

Project "/home/oem/src/download/openbve/openBVE/OpenBve/OpenBve.csproj" (Build
target(s)):

Target PrepareForBuild:
        Configuration: Debug Platform: AnyCPU
        Created directory "bin/Debug/"

Target ResolveAssemblyReferences:
:  warning : Reference Tao.OpenAl, Version=1.1.0.1, Culture=neutral,
PublicKeyToken=a7579dda88828311, processorArchitecture=MSIL not resolved
:  warning : Reference Tao.OpenGl, Version=2.1.0.12, Culture=neutral,
PublicKeyToken=1ca010269a4501ef, processorArchitecture=MSIL not resolved
:  warning : Reference Tao.Sdl, Version=1.2.13.0, Culture=neutral,
PublicKeyToken=9c7a200e36c0094e, processorArchitecture=MSIL not resolved

Target CoreCompile:
        Tool /usr/bin/gmcs execution started with arguments: /noconfig
/debug:full /debug+ /optimize- /out:bin/Debug/OpenBve.exe
BveAnimatedObjectParser.cs Asynchronous.cs BveExtensionsCfgParser.cs
BvePanel2CfgParser.cs BveCsvB3dObjectParser.cs BveCsvRwRouteParser.cs
BveSoundCfgParser.cs BveXObjectParser.cs Loading.cs Fonts.cs formImage.cs
formImage.Designer.cs formMain.cs formMain.Designer.cs formLoading.cs
formLoading.Designer.cs Game.cs Illustrations.cs Interface.cs MainLoop.cs
ObjectManager.cs BvePanelCfgParser.cs PluginManager.cs Renderer.cs
FunctionScripts.cs SoundManager.cs TextureManager.cs Program.cs
Properties/AssemblyInfo.cs Properties/Resources.Designer.cs
Properties/Settings.Designer.cs Timers.cs Timetable.cs TrackManager.cs
BveTrainDatParser.cs TrainManager.cs World.cs /target:winexe /unsafe-
/define:TRACE;DEBUG
/reference:/usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll
/reference:/usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
/reference:/usr/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
/warn:4
System.ComponentModel.Win32Exception: ApplicationName='/usr/bin/gmcs',
CommandLine='/noconfig /debug:full /debug+ /optimize-
/out:bin/Debug/OpenBve.exe BveAnimatedObjectParser.cs Asynchronous.cs
BveExtensionsCfgParser.cs BvePanel2CfgParser.cs BveCsvB3dObjectParser.cs
BveCsvRwRouteParser.cs BveSoundCfgParser.cs BveXObjectParser.cs Loading.cs
Fonts.cs formImage.cs formImage.Designer.cs formMain.cs formMain.Designer.cs
formLoading.cs formLoading.Designer.cs Game.cs Illustrations.cs Interface.cs
MainLoop.cs ObjectManager.cs BvePanelCfgParser.cs PluginManager.cs Renderer.cs
FunctionScripts.cs SoundManager.cs TextureManager.cs Program.cs
Properties/AssemblyInfo.cs Properties/Resources.Designer.cs
Properties/Settings.Designer.cs Timers.cs Timetable.cs TrackManager.cs
BveTrainDatParser.cs TrainManager.cs World.cs /target:winexe /unsafe-
/define:TRACE;DEBUG
/reference:/usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll
/reference:/usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
/reference:/usr/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
/warn:4', CurrentDirectory=''
  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] 
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00000] 
  at System.Diagnostics.Process.Start () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
  at Microsoft.Build.Utilities.ToolTask.RealExecute (System.String filename,
System.String arguments) [0x00000] 
  at Microsoft.Build.Utilities.ToolTask.ExecuteTool (System.String pathToTool,
System.String responseFileCommands, System.String commandLineCommands)
[0x00000] 
  at Microsoft.Build.Utilities.ToolTask.Execute () [0x00000] 
  at Microsoft.Build.BuildEngine.TaskEngine.Execute () [0x00000] 
  at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x00000] 

Build succeeded.
     3 Warning(s)

-- 
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