Package: dpkg-dev
Version: 1.16.9
Severity: minor
File: /usr/bin/dpkg-architecture

dpkg-archtecture -iany-armel does not work as expected, ie. it returns false on
armel:

% dpkg-architecture -aarmel -iarmel; echo $?
0
% dpkg-architecture -aarmel -iany-armel; echo $?
1

But returns true for -iany-arm:

% dpkg-architecture -aarmel -iany-arm; echo $? 
0
% dpkg-architecture -aarmel -ignueabi-any-arm; echo $?
0

This happens as the actual comparison is done on triplets having the form

  gnueabi-linux-arm (armel)
  any-any-armel (any-armel)

However the man page for dpkg-architecture states: "-iarchitecture-wildcard"
and "architecture wildcard" is said to have the general form "<kernel>-<cpu>".

Ansgar

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages dpkg-dev depends on:
ii  base-files    6.12
ii  binutils      2.22-7.1
ii  bzip2         1.0.6-4
ii  libdpkg-perl  1.16.9
ii  make          3.81-8.2
ii  patch         2.6.1-3
ii  xz-utils      5.1.1alpha+20120614-2

Versions of packages dpkg-dev recommends:
ii  build-essential          11.5
ii  clang [c-compiler]       3.1-8
ii  fakeroot                 1.18.4-2
ii  gcc [c-compiler]         4:4.7.2-1
ii  gcc-4.6 [c-compiler]     4.6.3-14
ii  gcc-4.7 [c-compiler]     4.7.2-4
ii  gnupg                    1.4.12-6
ii  gpgv                     1.4.12-6
ii  libalgorithm-merge-perl  0.08-2

Versions of packages dpkg-dev suggests:
ii  debian-keyring  2012.11.15

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to