Package: dpkg-dev
Version: 1.15.2
Severity: normal

With this vendor file:

$ cat /etc/dpkg/origins/emdebian-crush 
Vendor: Emdebian Crush
Vendor-URL: http://www.emdebian.org/crush/
Bugs: debbugs://bugs.debian.org
Bugs-Package: buildd.emdebian.org
Cross-Compiling: yes
Grip-Build-Option: usecrush
Blacklist: coreutils perl python ldap
 adduser
Parent: Debian

I get confusing results from dpkg-vendor:

$ dpkg-vendor --vendor emdebian-crush --query Cross-Compiling
yes

(correct)

$ dpkg-vendor --query Cross-Compiling; echo $?
1

(correct)

$ DEB_VENDOR="emdebian-crush" dpkg-vendor --query Cross-Compiling; echo $?
dpkg-vendor: error: vendor Emdebian Crush doesn't exist in /etc/dpkg/origins/
2

Huh?

Emdebian Crush is a different vendor to Emdebian Grip (Crush is cross-built,
Grip is not).

Is there some hidden assumption that the filename must match the Vendor because
the existing default file does not follow that convention, at least as far
as case-sensitivity is concerned. (debian vs Debian).

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg-dev depends on:
ii  binutils                      2.19.1-1   The GNU assembler, linker and bina
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  dpkg                          1.15.2     Debian package management system
ii  libtimedate-perl              1.1600-9   Time and date functions for Perl
ii  lzma                          4.43-14    Compression method of 7z format in
ii  make                          3.81-5     The GNU version of the "make" util
ii  patch                         2.5.9-5    Apply a diff file to an original
ii  perl [perl5]                  5.10.0-22  Larry Wall's Practical Extraction 
ii  perl-modules                  5.10.0-22  Core Perl modules

Versions of packages dpkg-dev recommends:
ii  build-essential               11.4       Informational list of build-essent
ii  gcc [c-compiler]              4:4.3.3-8  The GNU C compiler
ii  gcc-4.3 [c-compiler]          4.3.3-10   The GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.0-5    The GNU C compiler
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
ii  gpgv                          1.4.9-4    GNU privacy guard - signature veri

Versions of packages dpkg-dev suggests:
ii  debian-keyring                2009.05.28 GnuPG (and obsolete PGP) keys of D
pn  debian-maintainers            <none>     (no description available)

-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to