registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #12682
[Bug 624738] [NEW] brittle implementation of ubuntutools.misc.host_architecture()
Public bug reported:
Imported from Debian bug 594424:
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
** Affects: ubuntu-dev-tools (Ubuntu)
Importance: Undecided
Status: New
** Affects: ubuntu-dev-tools (Debian)
Importance: Undecided
Status: New
** Bug watch added: Debian Bug tracker #594424
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594424
** Changed in: ubuntu-dev-tools (Debian)
Remote watch: None => Debian Bug tracker #594424
--
brittle implementation of ubuntutools.misc.host_architecture()
https://bugs.launchpad.net/bugs/624738
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.
Follow ups
References