[Bug 227362] New: mono-find-requires does neither work nor warn if monodis is missing

https://bugzilla.novell.com/show_bug.cgi?id=227362 Summary: mono-find-requires does neither work nor warn if monodis is missing Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Mono AssignedTo: bnc-team-mono@forge.provo.novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: qa@suse.de The /usr/bin/mono-find-requires script from mono-core is used to generate rpm dependencies from mono assemblies. This script depends on /usr/bin/monodis from mono-devel, but exits silently if /usr/bin/monodis is missing without generating any dependencies. Packagers currently have to track this manually and add mono-devel to their BuildRequires. This is very error prone: If a packager forgets it, the package ends up being built without any mono dependencies, e.g. bug 226326. /usr/bin/mono-find-requires should be changed to error out or at least print a big fat warning if it cannot generate proper dependencies because of missing tools. Alternatively, the packaging could be changed so that mono-find-requires and all its dependencies are packaged together. (Means: Move /usr/bin/monodis to mono-core, or move /usr/bin/mono-find-requires to mono-devel) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=227362 wberrier@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro@novell.com ------- Comment #1 from wberrier@novell.com 2007-01-04 13:58 MST ------- mono-find-* scripts will bail out of monodis is missing. Also, I moved the scripts to mono-devel. Rudi, I don't understand how these scripts get called in packages other than mono-core in autobuild. If mono-devel isn't in the buildroot, exiting with an error level of 1 shouldn't affect other non-mono related packages, correct? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=227362 ------- Comment #2 from wberrier@novell.com 2007-01-04 14:16 MST ------- Rudi, As mentioned above, there's no point in including mono-find-* in mono-core since they require monodis, which is in mono-devel. I found where they are called in /usr/lib/rpm/find-provides. Can this script be updated to only check for $MONO_PREFIX/bin/mono? This way it will require that any mono packages must build with mono-devel. What do you think? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=227362 ------- Comment #3 from wberrier@novell.com 2007-01-09 19:44 MST ------- Created an attachment (id=112132) --> (https://bugzilla.novell.com/attachment.cgi?id=112132&action=view) verbose errors if mono is installed, but mono-devel isn't -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=227362 wberrier@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mls@novell.com ------- Comment #4 from wberrier@novell.com 2007-01-09 19:46 MST ------- I'm not sure if this is the right place to put these errors. Maybe this check would be better suited for the post build checks that autobuild's build uses? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=227362 ------- Comment #5 from mls@novell.com 2007-01-10 04:40 MST ------- IMHO this is a packaging bug, the /usr/bin/mono-find-requires script and the mono compiler (mcs/gmcs) should be moved into the mono-devel package. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=227362 ------- Comment #6 from miguel@novell.com 2007-03-12 15:37 MST ------- mono-find-requires probably can move into the mono-devel package, the compilers must remain in the core, because the compilers are used at runtime to implement any features that requires the CodeDOM APM (XmlSerializer uses it or ASP.NET for example) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=227362 ------- Comment #7 from wberrier@novell.com 2007-04-27 16:48 MST ------- mono-find-* is in mono-devel. An update the the autodeps.diff in rpm has been submitted to autobuild. When rpm scans for deps/reqs it will print a fat warning if mono-find-requires fails. Is this an ok solution? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=227362 wberrier@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #8 from wberrier@novell.com 2007-05-17 13:46 MST ------- rpm changes were submitted to autobuild... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com