[Pkg-utopia-maintainers] Bug#657488: dbus-python: A few packaging anomolies in the -dbg packages

Barry Warsaw barry at python.org
Thu Jan 26 15:42:39 UTC 2012


Package: dbus-python
Version: 1.0.0-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Simon.  First, thanks for 1.0.0 and incorporating Python 3 support.  This
is really fantastic.

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.  (I did notice that you made some different packaging
decisions than my previous patch, which of course is fine!  The change from
python-dbus-common to python-dbus-dev for example, is spot on.)

I'm debdiffing 0.84.0-2ubuntu3 from Ubuntu precise, which has my originally
proposed patches (both for Python 3 support and packaging) implemented as
quilt patches, against experimental's unchanged 1.0.0-1 package.  There are
some minor differences in the non-dbg packages, but these can be ignored.  The
main problem appears to be in the -dbg packages.

==============================
% debdiff python3-dbus-dbg_*.deb
[The following lists of changes regard files as different if they have
different names, permissions or owners.]

Files in second .deb but not in first
- -------------------------------------
- -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

Files in first .deb but not in second
- -------------------------------------
- -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

Control files: lines which differ (wdiff format)
- ------------------------------------------------
Depends: python3-dbg, python3-dbus (= [-0.84.0-2ubuntu3),-] {+1.0.0-1),+} libc6 (>= [-2.2.5),-] {+2.4),+} libdbus-1-3 (>= 1.2.16), libdbus-glib-1-2 (>= 0.78), libglib2.0-0 (>= 2.12.0)
Description: [-Debug-] {+debug+} build of the D-Bus Python {+3+} interface
 This package provides a version of the [-python-dbus-] {+python3-dbus+} package built for
 debugging versions of [-Python.-] {+Python 3, and debug symbols for python3-dbus.+}
Installed-Size: [-912-] {+496+}
Maintainer: [-Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>-]
[-Original-Maintainer:-] Utopia Maintenance Team <pkg-utopia-maintainers at lists.alioth.debian.org>
Version: [-0.84.0-2ubuntu3-] {+1.0.0-1+}
==============================

Specifically, notice the /usr/lib/debug/.build-id directory in 1.0.0-1.  This
seems like a leakage of a build artifact.  Also note that 0.84.0-2ubuntu3
includes /usr/lib/debug versions of the .so's.

I see something similar in the python-dbus-dbg* packages:

==============================
% debdiff python-dbus-dbg_*.deb
[The following lists of changes regard files as different if they have
different names, permissions or owners.]

Files in second .deb but not in first
- -------------------------------------
- -rw-r--r--  root/root   /usr/lib/debug/.build-id/34/b98d744c788d1d214290cdd096af7ea781eefd.debug
- -rw-r--r--  root/root   /usr/lib/debug/.build-id/36/f9ae64a9392400f6561cc900f6425e4129fe2b.debug
- -rw-r--r--  root/root   /usr/lib/debug/.build-id/da/93ad8dcf9700f17f26d18592fa16ae09f33ce3.debug
- -rw-r--r--  root/root   /usr/lib/debug/.build-id/fc/3c82e0c184941f174a5d25dedccffc2c2958ef.debug

Files in first .deb but not in second
- -------------------------------------
- -rw-r--r--  root/root   /usr/lib/debug/usr/lib/python2.7/dist-packages/_dbus_bindings.so
- -rw-r--r--  root/root   /usr/lib/debug/usr/lib/python2.7/dist-packages/_dbus_glib_bindings.so

Control files: lines which differ (wdiff format)
- ------------------------------------------------
Depends: {+python-dbg (>= 2.7),+} python-dbus (= [-0.84.0-2ubuntu3), python-dbg,-] {+1.0.0-1),+} libc6 (>= [-2.2.5),-] {+2.4),+} libdbus-1-3 (>= 1.2.16), libdbus-glib-1-2 (>= 0.78), libglib2.0-0 (>= [-2.12.0)-] {+2.12.0), python2.7-dbg, python-dbg (<< 2.8)+}
Description: [-Debug-] {+debug+} build of the D-Bus Python {+2+} interface
 debugging versions of [-Python.-] {+Python 2, and debug symbols for python-dbus.+}
Installed-Size: [-931-] {+505+}
Maintainer: [-Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>-]
[-Original-Maintainer:-] Utopia Maintenance Team <pkg-utopia-maintainers at lists.alioth.debian.org>
Version: [-0.84.0-2ubuntu3-] {+1.0.0-1+}
==============================

- -- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-10-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJPIXRsAAoJEBJutWOnSwa/oVoP/ibSijiwFvGCkPC3eGB045t4
NlQC+RmsSMqohWLPfSPVfjgIRoRxIFNqjHPzGDr0VFvbE9jqT+fv977YWpD2Ibhg
WoPzoW9Z8HbSKYbGsGmERvg+0jGprzqg5mywXGkoXzclJZavjPInBLorkKCfhYod
WUJpV1V8mueudrW/73YVEFbGkHAaRj4QXSLCXDqXPWdiBf1zj2TxYd1x29iNRtS3
5YYxupVwR8cHzDgHF6SXdYyG9Kf8SBa5j2MVcg810f3WAe+0ovepjJUS8RWT6k+Z
v0M5oZnk200X90q+XW3fNhv6g3h/cWA4cvPPnixHitkDPfQpzbN1LBnnjW18wkic
kyOaRLRyxNVlU4BmCnuPGFwKd2cyXX6QjlZnDX+uowXcESpeSIxQfNtoJj4Ny1Yc
WuMQhf/17TpcxsZjYZE8XY7ecSKGQ3eUG3cTDcEZZL90dcL2NiM61OQT8UzIZt3i
u0/k7Aff3bSUXDVm9QbRTfH/nsj3zxOEaFab41cKohI26ubg1YyV4z1e9cVNKAJ1
MqKLIfhWW0d+5ylC3eaZ1CW2Wf2ivGyqjeOz0KNs2gGMWxpSSv3wfo9kVl/H0esb
nvO8bSDAE5pnewT7A06zNZ22r0kmtEJ3S8wpcegjjMylROr4ruQn2nDsWIH8aqND
Z+IY8LEKg+Si0VzkxL37
=lX6v
-----END PGP SIGNATURE-----





More information about the Pkg-utopia-maintainers mailing list