Debian Bug report logs - #657488
dbus-python: A few packaging anomolies in the -dbg packages

version graph

Package: dbus-python; Maintainer for dbus-python is Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>;

Reported by: Barry Warsaw <barry@python.org>

Date: Thu, 26 Jan 2012 15:45:01 UTC

Severity: normal

Found in version 1.0.0-1

Done: Simon McVittie <smcv@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, barry@ubuntu.com, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#657488; Package dbus-python. (Thu, 26 Jan 2012 15:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Barry Warsaw <barry@python.org>:
New Bug report received and forwarded. Copy sent to barry@ubuntu.com, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Thu, 26 Jan 2012 15:45:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Barry Warsaw <barry@python.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dbus-python: A few packaging anomolies in the -dbg packages
Date: Thu, 26 Jan 2012 10:42:39 -0500
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@lists.ubuntu.com>-]
[-Original-Maintainer:-] Utopia Maintenance Team <pkg-utopia-maintainers@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@lists.ubuntu.com>-]
[-Original-Maintainer:-] Utopia Maintenance Team <pkg-utopia-maintainers@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-----




Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#657488; Package dbus-python. (Thu, 26 Jan 2012 15:57:19 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <email@michaelbiebl.de>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Thu, 26 Jan 2012 15:57:19 GMT) (full text, mbox, link).


Message #10 received at 657488@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <email@michaelbiebl.de>
To: Barry Warsaw <barry@python.org>, 657488@bugs.debian.org
Subject: Re: [Pkg-utopia-maintainers] Bug#657488: dbus-python: A few packaging anomolies in the -dbg packages
Date: Thu, 26 Jan 2012 16:55:32 +0100
[Message part 1 (text/plain, inline)]
On 26.01.2012 16:42, Barry Warsaw wrote:

> 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

Not a bug. See the changelog of debhelper

debhelper (8.9.13) unstable; urgency=low
...
   * dh_strip: Use build-id in /usr/lib/debug in v9.
    Closes: #642158 Thanks, Jakub Wilk
...
 -- Joey Hess <joeyh@debian.org>  Fri, 09 Dec 2011 13:53:38 -0400


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#657488; Package dbus-python. (Fri, 27 Jan 2012 09:49:08 GMT) (full text, mbox, link).


Acknowledgement sent to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Fri, 27 Jan 2012 09:49:15 GMT) (full text, mbox, link).


Message #15 received at 657488@bugs.debian.org (full text, mbox, reply):

From: Simon McVittie <smcv@debian.org>
To: Barry Warsaw <barry@python.org>, 657488@bugs.debian.org
Subject: Re: Bug#657488: dbus-python: A few packaging anomolies in the -dbg packages
Date: Fri, 27 Jan 2012 09:45:24 +0000
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




Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#657488; Package dbus-python. (Fri, 27 Jan 2012 13:42:07 GMT) (full text, mbox, link).


Acknowledgement sent to Barry Warsaw <barry@python.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Fri, 27 Jan 2012 13:42:29 GMT) (full text, mbox, link).


Message #20 received at 657488@bugs.debian.org (full text, mbox, reply):

From: Barry Warsaw <barry@python.org>
To: Simon McVittie <smcv@debian.org>
Cc: 657488@bugs.debian.org
Subject: Re: Bug#657488: dbus-python: A few packaging anomolies in the -dbg packages
Date: Fri, 27 Jan 2012 08:30:33 -0500
[Message part 1 (text/plain, inline)]
On Jan 27, 2012, at 09:45 AM, Simon McVittie wrote:

>Thanks for pointing these out, but they're not bugs.

Michael also pointed that out.  Thanks for the information!

>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.

Cool, no problem.  Martin Pitt pinged me about it on IRC and afaict, this
didn't have any effect on our sync'ing it from Debian.  I did a straight sync
to remove the Ubuntu delta and everything looks fine.

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Simon McVittie <smcv@debian.org>:
You have taken responsibility. (Wed, 09 May 2012 15:00:05 GMT) (full text, mbox, link).


Notification sent to Barry Warsaw <barry@python.org>:
Bug acknowledged by developer. (Wed, 09 May 2012 15:00:05 GMT) (full text, mbox, link).


Message #25 received at 657488-done@bugs.debian.org (full text, mbox, reply):

From: Simon McVittie <smcv@debian.org>
To: 657488-done@bugs.debian.org
Subject: Re: Bug#657488: dbus-python: A few packaging anomolies in the -dbg packages
Date: Wed, 9 May 2012 15:57:02 +0100
On Fri, 27 Jan 2012 at 09:45:24 +0000, Simon McVittie wrote:
> Thanks for pointing these out, but they're not bugs.

Closing.




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 07 Jun 2012 07:44:21 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 12 21:11:30 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.