[Pkg-utopia-maintainers] Bug#657488: dbus-python: A few packaging anomolies in the -dbg packages
Simon McVittie
smcv at debian.org
Fri Jan 27 09:45:24 UTC 2012
On 26/01/12 15:42, Barry Warsaw wrote:
> I'm looking at merging this version over to Ubuntu, but comparing the
> resulting .debs I've noticed a few weird things. I want to point them out in
> case they are bugs.
Thanks for pointing these out, but they're not bugs.
> Files in [experimental] but not in [Ubuntu]
> - -----------------------------------------
> - -rw-r--r-- root/root /usr/lib/debug/.build-id/22/a8cbf47dc457752a68fc97b2513c46df0f75e9.debug
> - -rw-r--r-- root/root /usr/lib/debug/.build-id/97/59dab8af4f6050cf800ace862a0e35436b6074.debug
> - -rw-r--r-- root/root /usr/lib/debug/.build-id/c3/3e71ed5b196c2596dcf70428b42f1205566818.debug
> - -rw-r--r-- root/root /usr/lib/debug/.build-id/fc/a42cb6512ff7c0bc52a3f83b55e84edad3bdd7.debug
These are separated debugging symbols for the _dbus_bindings and
_dbus_glib_bindings module; there are four files because there's a
version of each for python3.2 and another for python3.2-dbg. In the
Python 2 package there are twice as many, because we support Python 2.6
and 2.7 simultaneously.
(The move to "build IDs", which are some sort of hash of the compiler
input and/or output, is to make sure that gdb never loads debug symbols
that don't match the binary you're debugging.)
> Files in [Ubuntu] but not in [experimental]
> - -----------------------------------------
> - -rw-r--r-- root/root /usr/lib/debug/usr/lib/python3/dist-packages/_dbus_bindings.cpython-32dmu.so
> - -rw-r--r-- root/root /usr/lib/debug/usr/lib/python3/dist-packages/_dbus_glib_bindings.cpython-32dmu.so
These have effectively been renamed, to get one of the files in
/usr/lib/debug/.build-id. (They're not shared libraries at all, despite
their names: if you objdump them you'll find that they only contain
debug symbols.)
I know Ubuntu does something else with debug symbols, so I'm not sure
how this will translate into your packages, but all the files in
/usr/lib/debug are debugging symbols for gdb.
> Installed-Size: [-912-] {+496+}
The debug symbols are also now compressed, so they're smaller; that's OK.
In private mail you also commented on the distribution in the changelog
being UNRELEASED. That *is* a bug, albeit a minor one: it should say
experimental, but I accidentally uploaded the final test build (from
source exported just before the commit that changed UNRELEASED to
experimental), rather than replacing it with a final build. There's no
functional difference, though: I re-downloaded the source from Debian
and diffed it against my git tree, and debian/changelog is the only
difference.
S
More information about the Pkg-utopia-maintainers
mailing list