Debian Bug report logs - #594424
brittle implementation of ubuntutools.misc.host_architecture()

version graph

Package: ubuntu-dev-tools; Maintainer for ubuntu-dev-tools is Ubuntu Developers <ubuntu-dev-team@lists.alioth.debian.org>; Source for ubuntu-dev-tools is src:ubuntu-dev-tools (PTS, buildd, popcon).

Reported by: Jakub Wilk <jwilk@debian.org>

Date: Wed, 25 Aug 2010 21:39:01 UTC

Severity: normal

Found in version ubuntu-dev-tools/0.101

Fixed in version ubuntu-dev-tools/0.103

Done: Luca Falavigna <dktrkranz@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, jwilk@debian.org, Ubuntu Developers <ubuntu-dev-team@lists.alioth.debian.org>:
Bug#594424; Package ubuntu-dev-tools. (Wed, 25 Aug 2010 21:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to Jakub Wilk <jwilk@debian.org>:
New Bug report received and forwarded. Copy sent to jwilk@debian.org, Ubuntu Developers <ubuntu-dev-team@lists.alioth.debian.org>. (Wed, 25 Aug 2010 21:39:04 GMT) (full text, mbox, link).


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

From: Jakub Wilk <jwilk@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: brittle implementation of ubuntutools.misc.host_architecture()
Date: Wed, 25 Aug 2010 23:35:41 +0200
[Message part 1 (text/plain, inline)]
Package: ubuntu-dev-tools
Version: 0.101
Severity: normal

host_architecture() uses os.uname() to determine host architecture. 
However, uname() returns a "machine hardware name", which can be 
something quite different, e.g.:

$ dpkg --print-architecture
hppa
$ python -c 'from ubuntutools.misc import host_architecture; print host_architecture()'
parisc64

Most importantly, host_architecture() returns the wrong thing for an 
i386 system with amd64 kernel:

$ dpkg --print-architecture
i386
$ python -c 'from ubuntutools.misc import host_architecture; print host_architecture()'
amd64

-- 
Jakub Wilk
[signature.asc (application/pgp-signature, inline)]

Reply sent to Luca Falavigna <dktrkranz@debian.org>:
You have taken responsibility. (Wed, 22 Sep 2010 16:36:05 GMT) (full text, mbox, link).


Notification sent to Jakub Wilk <jwilk@debian.org>:
Bug acknowledged by developer. (Wed, 22 Sep 2010 16:36:05 GMT) (full text, mbox, link).


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

From: Luca Falavigna <dktrkranz@debian.org>
To: 594424-close@bugs.debian.org
Subject: Bug#594424: fixed in ubuntu-dev-tools 0.103
Date: Wed, 22 Sep 2010 16:32:40 +0000
Source: ubuntu-dev-tools
Source-Version: 0.103

We believe that the bug you reported is fixed in the latest version of
ubuntu-dev-tools, which is due to be installed in the Debian FTP archive:

ubuntu-dev-tools_0.103.dsc
  to main/u/ubuntu-dev-tools/ubuntu-dev-tools_0.103.dsc
ubuntu-dev-tools_0.103.tar.gz
  to main/u/ubuntu-dev-tools/ubuntu-dev-tools_0.103.tar.gz
ubuntu-dev-tools_0.103_all.deb
  to main/u/ubuntu-dev-tools/ubuntu-dev-tools_0.103_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 594424@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luca Falavigna <dktrkranz@debian.org> (supplier of updated ubuntu-dev-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 22 Sep 2010 18:13:27 +0200
Source: ubuntu-dev-tools
Binary: ubuntu-dev-tools
Architecture: source all
Version: 0.103
Distribution: experimental
Urgency: low
Maintainer: Ubuntu Developers <ubuntu-dev-team@lists.alioth.debian.org>
Changed-By: Luca Falavigna <dktrkranz@debian.org>
Description: 
 ubuntu-dev-tools - useful tools for Ubuntu developers
Closes: 594424
Changes: 
 ubuntu-dev-tools (0.103) experimental; urgency=low
 .
   [ Benjamin Drung ]
   * sponsor-patch:
     - Fix NameError: global name 'debdiff_filename' is not defined.
     - Add --workdir parameter to set the working directory.
   * ubuntutools/update_maintainer.py: Fix failure if debian/control.in is a
     directory.
 .
   [ Luca Falavigna ]
   * debian/control:
     - Add Benjamin Drung to Uploaders.
     - Add DM-Upload-Allowed field, this way Benjamin can upload new
       versions on his own.
   * ubuntutools/misc.py:
     - Use output of dpkg --print-architecture command to correctly display
       platform architecture (Closes: #594424).
 .
   [ Siegfried-Angel Gevatter Pujals ]
   * pbuilder-dist:
      - Do not show a warning when "experimental" is used; there is no
        debootstrap file for it but it should just work anyway.
      - Wrap any extra (user) arguments appended to the pbuilder command with
        quotation marks, when needed (LP: #398989).
   * bash_completion/pbuilder-dist:
      - Enable auto-completion for "pbuilder-experimental".
   * doc/pbuilder-dist.1:
      - Move the documentation for --main-only (previously "mainonly") and
        --debug-echo to a new Options section.
 .
   [ Stefano Rivera ]
   * Add manpages for sponsor-patch and import-bug-from-debian.
   * hugdaylist, manage-credentials, massfile, merge-changelog,
     ubuntutools/requestsync/common.py: Some pyflakes-induced cleanup.
   * ubuntutools/lp/libsupport.py: Support production API URLs in
     translate_web_api.
Checksums-Sha1: 
 2de66b3a26b1ad479d966d87fe0c84f1af8f61ea 1191 ubuntu-dev-tools_0.103.dsc
 d909fc372e085a398969f34f3439ef6933e7bf1b 154148 ubuntu-dev-tools_0.103.tar.gz
 36b654bdfaaeb7db0fcf3256b42b30604d57b135 145516 ubuntu-dev-tools_0.103_all.deb
Checksums-Sha256: 
 0f4e44a7fc4d36f290127e2c874e8e421124e9b13006e054f45689313e774b90 1191 ubuntu-dev-tools_0.103.dsc
 6e765a1fcc06dd9bef766b1968732195e63927f5a66d810600fd590a028de3d3 154148 ubuntu-dev-tools_0.103.tar.gz
 867bdef2660398345f4d1b82a4b49ebe283c7a7a26c993b787cf7cbab1c37a83 145516 ubuntu-dev-tools_0.103_all.deb
Files: 
 b7acbaf973d6d0f5c64c03b819e92920 1191 devel optional ubuntu-dev-tools_0.103.dsc
 88a65fa7d750635b3dee41a62f55831b 154148 devel optional ubuntu-dev-tools_0.103.tar.gz
 bf5c7677c9133bcb628af0d96d905b50 145516 devel optional ubuntu-dev-tools_0.103_all.deb

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

iEYEARECAAYFAkyaK88ACgkQnXjXEYa8KlA00QCgoBJF09vmNat7hmbSL7Y+dq40
+hsAoJYAyYUxrud9xnCcFwClfe1L1U70
=Tfve
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 18 Feb 2011 07:32:05 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: Sun Jan 7 02:05:02 2018; Machine Name: buxtehude

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.