[Mono-bugs] [Bug 66325][Wis] New - mono-find-requires should use dll maps

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 20 Sep 2004 10:11:03 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by waschk@informatik.uni-rostock.de.

http://bugzilla.ximian.com/show_bug.cgi?id=66325

--- shadow/66325	2004-09-20 10:11:03.000000000 -0400
+++ shadow/66325.tmp.6433	2004-09-20 10:11:03.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 66325
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: Mandrakelinux 10.1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: waschk@informatik.uni-rostock.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono-find-requires should use dll maps
+
+Description of Problem:
+mono-find-requires makes packaging of mono apps easy, but it's incomplete,
+as some assemblies need to open native code dlls. Packagers must add these
+deps by hand.
+
+Steps to reproduce the problem:
+1. build a mono package on Mandrakelinux 10.1, e.g. evolution-sharp
+2. query it's deps with rpm -qp packagename.rpm
+3. 
+
+Actual Results:
+Here's the automatically extracted deps of evolution-sharp:
+mono(mscorlib) >= 1.0.5000.0
+mono(glib-sharp) >= 1.0.0.0
+mono(System) >= 1.0.5000.0
+mono(mscorlib) >= 1.0.5000.0
+mono(glib-sharp) >= 1.0.0.0
+mono(System) >= 1.0.5000.0
+
+
+Expected Results:
+If the .dll.config file would be evaluated too, it would look like this:
+mono(mscorlib) >= 1.0.5000.0
+mono(glib-sharp) >= 1.0.0.0
+mono(System) >= 1.0.5000.0
+mono(mscorlib) >= 1.0.5000.0
+mono(glib-sharp) >= 1.0.0.0
+mono(System) >= 1.0.5000.0
+libebook.so.8
+libedataserver.so.3
+
+How often does this happen? 
+When a assembly depends on a native code shared library.