incomplete apport retraces fix...
Martin Pitt
martin.pitt at ubuntu.com
Fri Oct 22 14:25:56 UTC 2010
Hello Daniel,
Daniel J Blueman [2010-10-18 7:07 +0100]:
> It was clear many of the -dbg packages provide the debug symbols in
> favour of non-existent -dbgsym variants. Tweaking apport [1] to
> attempt installation of the -dbg packages resolves (at least in my
> case) vast numbers of incomplete stack frames
Ah, good point.
> --- packaging_impl.py.orig 2010-10-18 06:33:27.467981687 +0100
> +++ packaging_impl.py 2010-10-18 07:00:33.283964588 +0100
> @@ -445,6 +445,7 @@
> dependency_versions[pkg] = version
> try:
> if self.get_architecture(pkg) != 'all':
> + dependency_versions[pkg+'-dbg'] = dependency_versions[pkg]
> dependency_versions[pkg+'-dbgsym'] =
> dependency_versions[pkg]
This needs some finer-grained checks, though. the -dbgsym packages
conflict with the -dbg ones, so we must do an either/or check here.
I don't have time to fix/test this right now, though. If you do,
that'd be great, I'm happy to merge a tested patch. Otherwise we
should track this as a bug report, please feel free to assign to me.
Thanks!
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the Ubuntu-devel-discuss
mailing list