[Mono-bugs] [Bug 343880] New: mkbundle failes when dealing with an assembly with spaces in it
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Nov 24 13:00:28 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=343880
Summary: mkbundle failes when dealing with an assembly with
spaces in it
Product: Mono: Tools
Version: 1.2.4
Platform: x86-64
OS/Version: Kubuntu
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=184612)
--> (https://bugzilla.novell.com/attachment.cgi?id=184612)
Hello World Example
Description of Problem:
mkbundle failes when dealing with an assembly with spaces in it. Renaming the
targeted assembly fixes the issue.
Steps to reproduce the problem:
With the attached Hello World (or any c# program)
1. mcs Main\ Space.cs
2. mkbundle --static Main\ Space.exe -o Main
3. Note failure
4. cp Main\ Space.exe Main.exe
5. mkbundle --static Main.exe -o Main
6. Note sucess
Actual Results:
mkbundle --static Main\ Space.exe -o Main
OS is: Linux
Note that statically linking the LGPL Mono runtime has more licensing
restrictions than dynamically linking.
See http://www.mono-project.com/Licensing for details on licensing.
Sources: 1 Auto-dependencies: False
embedding: /tmp/Main Space.exe
Compiling:
as -o temp.o temp.s
temp.s: Assembler messages:
temp.s:1: Error: junk at end of line, first unrecognized character is `S'
temp.s:4: Error: unrecognized symbol type "Space_exe"
temp.s:4: Error: junk at end of line, first unrecognized character is `,'
temp.s:5: Error: expected comma after name `assembly_data_Main' in .size
directive
temp.s:6: Error: invalid character '_' in mnemonic
[Fail]
Expected Results:
mkbundle --static Main.exe -o Main
OS is: Linux
Note that statically linking the LGPL Mono runtime has more licensing
restrictions than dynamically linking.
See http://www.mono-project.com/Licensing for details on licensing.
Sources: 1 Auto-dependencies: False
embedding: /tmp/Main.exe
Compiling:
as -o temp.o temp.s
cc -o Main -Wall `pkg-config --cflags mono` temp.c `pkg-config --libs-only-L
mono` -Wl,-Bstatic -lmono -Wl,-Bdynamic `pkg-config --libs-only-l mono | sed -e
"s/\-lmono //"` temp.o
Done
How often does this happen?
Every time.
Additional Information:
This isn't the first "spaces in filename causes issues" bug. Maybe you should
add a file w\ spaces in it to the test suite.
--
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