[Bug 528851] New: rpm: split mono debuginfo ...
http://bugzilla.novell.com/show_bug.cgi?id=528851 Summary: rpm: split mono debuginfo ... Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mmeeks@novell.com QAContact: qa@suse.de Found By: --- AFAICS the '.mdb' files that many mono packages install are (I think) just debugging info, that we should split out into -debuginfo files, and not waste space on eg. Live-CDs with. My-first-patch-to-find-debuginfo.sh attached. It seems to work for me (for beagle-1). HTH. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528851 User mmeeks@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528851#c1 --- Comment #1 from Michael Meeks <mmeeks@novell.com> 2009-08-06 08:59:34 MDT --- Created an attachment (id=311117) --> (http://bugzilla.novell.com/attachment.cgi?id=311117) patch -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528851 User meissner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528851#c2 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mls@novell.com |ovo.novell.com | --- Comment #2 from Marcus Meissner <meissner@novell.com> 2009-08-07 00:51:42 MDT --- you can just submit this change as submitreq if you want (there is no clear maintainer of find-debuginfo.sh) i'll assign to mls though just in general ;) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528851 User mmeeks@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528851#c3 Michael Meeks <mmeeks@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@novell.com --- Comment #3 from Michael Meeks <mmeeks@novell.com> 2009-08-07 02:58:08 MDT --- Oh - I'd really prefer someone who knows what they are doing to review my patch - manifestly I have no idea here; if they could submit it too - that'd be really helpful. I assume the prospect of more space on the various Live-CDs is generally interesting to people too. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528851 User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528851#c4 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenther@novell.com, | |ro@novell.com --- Comment #4 from Stephan Kulow <coolo@novell.com> 2009-08-07 03:33:39 MDT --- Mon Jan 28 16:35:46 CET 2008 - ro@suse.de - finddebuginfo.diff: disable debuginfo for mono at the moment No idea why. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528851 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528851#c5 --- Comment #5 from Richard Guenther <rguenther@novell.com> 2009-08-07 03:58:38 MDT --- I don't see where finddebuginfo.diff changes anything for mono. But ... +# Find mono debugging data +if [ -x "/usr/bin/mono" ] ; then + echo "find in $RPM_BUILD_ROOT/usr/lib" + find $RPM_BUILD_ROOT/usr/lib -type f \( -name "*.dll.mdb" -or -name "*.exe.mdb" \) | sed "s|$RPM_BUILD_ROOT||" >> "$LISTFILE" +fi + so you are special-casing packages that have /usr/bin/mono. Why not simply manually add a Package: debuginfo .. %files debuginfo .. which is possible now (well, not mono-debuginfo as that exists already and you can't add to it - I didn't see that would be necessary yet). Likely what you want is something like mono-runtime-debuginfo anyway (or wherever that pieces are). The proposed solution to finddebuginfo.sh is a hack. If more packages would provide debuginformation in a mono format then if a mono build environment is present there needs to be a way to identify a *.dll.mdb or *.exe.mdb file as proper debuginformation and the packaging should be done for all packages not just the one containing /usr/bin/mono. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528851 User mmeeks@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528851#c6 --- Comment #6 from Michael Meeks <mmeeks@novell.com> 2009-08-07 04:51:17 MDT --- Hi Richard !
so you are special-casing packages that have /usr/bin/mono. Why not simply manually add a [ .spec file change]
oh - well, this is not very simple when you have to add it to a lot of packages (60 or so) - and in general, some pleasant way to drop (known to be) debuginfo information automatically into -debuginfo files is surely more pleasant ? This presumably is the thinking underlying a central find-debuginfo.sh script. The check for /usr/bin/mono - is not intended to make this specific to a single package - but to make it specific to those packages that have a BuildRequires of mono - ie. to reduce any chance of false positives with people calling their files "foo.dll.mdb" but them not being either a DLL or a debuginfo file ;-) I tend to think that is pretty unlikely, and in these cases they would want those files in a -debuginfo file anyway - so we could easily remove that. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528851 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528851#c7 --- Comment #7 from Richard Guenther <rguenther@novell.com> 2009-08-07 05:20:23 MDT --- Ah, indeed - I misread that part of the patch. Is there a way to have mono say "yes, this is proper debuginfo for me!"? Like mono --verify-this-is-debuginfo /path/to/the/file ? Does the mono debugger find the debuginformation if it is copied to the /usr/lib/debug/ shadow tree? I see the debuginfo files do not end in .debug, so at the moment they wouldn't be picked up by rpm, but that would be easy to fix. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528851 Michael Meeks <mmeeks@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |martin@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=528851 User mmeeks@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528851#c8 --- Comment #8 from Michael Meeks <mmeeks@novell.com> 2009-08-07 06:53:32 MDT --- Martin - any idea about this ? it would be nice to have some debug sniffing tool that we could use to reliably detect real debuginfo files; and Richard wonders - could we look in the shadow path for these files ? [ moving them across to there would be a little cleaner, and more consistent obviously ]. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=528851 https://bugzilla.novell.com/show_bug.cgi?id=528851#c9 Jeff Johnson <n3npq@mac.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |n3npq@mac.com --- Comment #9 from Jeff Johnson <n3npq@mac.com> 2010-09-14 19:39:17 UTC --- tracke at https://bugs.launchpad.net/rpm/+bug/633750 -- 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.
participants (1)
-
bugzilla_noreply@novell.com