[Mono-bugs] [Bug 553015] Packages with periods in the package name fail

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 5 18:39:04 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=553015

User twiest at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=553015#c1


Thomas Wiest <twiest at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |twiest at novell.com
  Status Whiteboard|                            |monovs-1.1.0




--- Comment #1 from Thomas Wiest <twiest at novell.com>  2009-11-05 16:39:01 MST ---
Steps to reproduce:
1) Create a new solution based on the C# winforms template project
2) Click Mono / Create Linux Package
3) In the "General" tab, put the application and package name as "wf.app"
4) Add an icon for the app
5) Build the project
6) In the "Files" Tab, add the winforms project binary
7) In the "Files" Tab, set the winforms binary as the "Set as Startup
Executable"
8) In the "Dependencies" tab, click on the double arrows button to
automatically detect the application's dependencies.
9) Click "Create Package"
10) Notice the errors


In the windows dialog, you'll see this exception:
---------------------------

---------------------------
System.IO.FileNotFoundException: Could not find file
"/tmp/monovs-367a39f8-535c-442e-b484-eefef4ea0a2b/wf.app-1.0-20091105.233743.noarch.rpm"
File name:
'/tmp/monovs-367a39f8-535c-442e-b484-eefef4ea0a2b/wf.app-1.0-20091105.233743.noarch.rpm'
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions
options) [0x00265] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System.IO/FileStream.cs:304 
  at System.IO.FileStream..ctor (System.String path, FileMode mode) [0x00000]
in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/Assembly/AssemblyInfo.cs:1 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode)
  at
Mono.VisualStudio.Mdb.DebuggerManager.Mono.VisualStudio.Mdb.IMdbManager.RunPackager
(Mono.VisualStudio.Mdb.DebuggingSession session) [0x001a1] in
/usr/src/packages/BUILD/monovs-server-1.0/MonoVS.DebugServer/DebuggerManager.cs:199 
---------------------------
OK   
---------------------------





In the Linux terminal you'll see:
+ umask 022
+ cd /tmp/monovs-367a39f8-535c-442e-b484-eefef4ea0a2b/BUILD
+ exit 0
+ umask 022
+ cd /tmp/monovs-367a39f8-535c-442e-b484-eefef4ea0a2b/BUILD
+ /bin/rm -rf /var/tmp/wf.app-1.0-build
++ dirname /var/tmp/wf.app-1.0-build
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/wf.app-1.0-build
+ exit 0
+ umask 022
+ cd /tmp/monovs-367a39f8-535c-442e-b484-eefef4ea0a2b/BUILD
+ mkdir -p /var/tmp/wf.app-1.0-build/usr/bin
+ install -m 755 ../wf.app /var/tmp/wf.app-1.0-build/usr/bin/wf.app
+ mkdir -p /var/tmp/wf.app-1.0-build/usr/share/applications/
+ install -m 644 ../wf.app.desktop
/var/tmp/wf.app-1.0-build/usr/share/applications/
install: cannot stat `../wf.app.desktop': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.62053 (%install)
    Bad exit status from /var/tmp/rpm-tmp.62053 (%install)

-- 
Configure bugmail: http://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