[Mono-bugs] [Bug 343881] New: mkbundle doesn't work under windows xp, claims can not find "sh"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Nov 24 13:22:38 EST 2007


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

           Summary: mkbundle doesn't work under windows xp, claims can not
                    find "sh"
           Product: Mono: Tools
           Version: 1.2.5
          Platform: x86-64
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: chris.hamons at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Created an attachment (id=184613)
 --> (https://bugzilla.novell.com/attachment.cgi?id=184613)
Hello World Test Example

Description of Problem:
mkbundle doesn't work under windows xp, claims can not find "sh" in messagebox,
then throws exception.

Steps to reproduce the problem:
Using attached hello world example (any c# program should fail)
1. mcs Main.cs
2. mkbundle Main.exe -o Main2.exe
3. Failure


Actual Results:
mkbundle Main.exe -o Main2.exe
OS is: Windows
Sources: 1 Auto-dependencies: False
   embedding: c:\Users\Donblas\Desktop\Main.exe
Compiling:
as -o temp.o temp.s

Unhandled Exception: System.ComponentModel.Win32Exception: Cannot find the
speci
fied file
  at System.Diagnostics.Process.Start_shell
(System.Diagnostics.ProcessStartInfo
 startInfo, System.Diagnostics.Process process) [0x00000]
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInf
o startInfo, System.Diagnostics.Process process) [0x00000]
  at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo
start
Info) [0x00000]
  at System.Diagnostics.Process.Start (System.String fileName, System.String
arg
uments) [0x00000]
  at MakeBundle.Execute (System.String cmdLine) [0x00000]
  at MakeBundle.GenerateBundles (System.Collections.ArrayList files) [0x00000]
  at MakeBundle.Main (System.String[] args) [0x00000]

Unhandled Exception: System.IO.IOException: Sharing violation on path temp.c
  at System.IO.File.Delete (System.String path) [0x00000]
  at MakeBundle.GenerateBundles (System.Collections.ArrayList files) [0x00000]
  at MakeBundle.Main (System.String[] args) [0x00000]

Expected Results:
Building a .exe w\ staticly linked dependency libraries.

How often does this happen? 
Every time.

Additional Information:


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list