Package: dpkg-dev
Version: 1.14.25
Severity: normal

Hi,

I just noticed the DEB_BUILD_OPTIONS has changed recently, it's no longer
comma-separated but space-separated.

When trying to use the old format, tools like dh_strip retain backwards
compatibility.  dpkg-buildpackage, however, seems to detect this and unsets
the variable (or maybe this happens by accident).

In any case, it doesn't print any warning about it, and user is left with no
information on why his options take no effect (is dh_strip ignoring 'nostrip',
or maybe upstream makefiles stripping binaries, or...).  It took me a while
to figure out what was happening, since dpkg-buildpackage is the least expected
place.

I would recommend to maintain backward compatibility.  If that's not possible
or undesirable, at least dpkg-buildpackage could print a warning saying
that DEB_BUILD_OPTIONS variable will be unset.

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages dpkg-dev depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  bzip2               1.0.5-1              high-quality block-sorting file co
ii  cpio                2.9-13               GNU cpio -- a program to manage ar
ii  dpkg                1.14.25              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-19            Larry Wall's Practical Extraction 
ii  perl-modules        5.10.0-19            Core Perl modules

Versions of packages dpkg-dev recommends:
ii  bcc [c-compiler]              0.16.17-3  16-bit x86 C compiler
ii  build-essential               11.4       Informational list of build-essent
ii  gcc [c-compiler]              4:4.3.2-2  The GNU C compiler
ii  gcc-3.4 [c-compiler]          3.4.6-9    The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.2-25   The GNU C compiler
ii  gcc-4.2 [c-compiler]          4.2.4-6    The GNU C compiler
ii  gcc-4.3 [c-compiler]          4.3.2-1.1  The GNU C compiler

Versions of packages dpkg-dev suggests:
ii  debian-keyring                2009.01.18 GnuPG (and obsolete PGP) keys of D
ii  gnupg                         1.4.9-3    GNU privacy guard - a free PGP rep

-- no debconf information




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

Reply via email to