Package: dpkg-dev
Version: 1.19.0.5
Severity: normal

There seems to be an inconsistency in the handling of BUILD_OPTIONS by
dpkg-buildpackage, in regards to the alternative DEB_BUILD_OPTIONS and
DEB_BUILD_MAINT_OPTIONS handled by dpkg-buildflags.

lintian warning debian-rules-sets-DEB_BUILD_OPTIONS instructs us to
use DEB_BUILD_MAINT_OPTIONS in debian/rules, not DEB_BUILD_OPTIONS
(which can be set by the user).

But dpkg-buildpackage only uses DEB_BUILD_OPTIONS and ignores
DEB_BUILD_MAINT_OPTIONS.  

Should dpkg-buildpackage be updated to use DEB_BUILD_MAINT_OPTIONS?

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

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg-dev depends on:
ii  binutils      2.30-21
ii  bzip2         1.0.6-8.1
ii  libdpkg-perl  1.19.0.5
ii  make          4.2.1-1
ii  patch         2.7.6-2
ii  perl          5.26.2-6
ii  tar           1.30+dfsg-2
ii  xz-utils      5.2.2-1.3

Versions of packages dpkg-dev recommends:
ii  build-essential          12.5
ii  clang-3.8 [c-compiler]   1:3.8.1-27
ii  fakeroot                 1.22-2
ii  gcc [c-compiler]         4:7.3.0-3
ii  gcc-6 [c-compiler]       6.4.0-17
ii  gcc-7 [c-compiler]       7.3.0-22
ii  gnupg                    2.2.8-1
ii  gnupg2                   2.2.8-1
ii  gpgv                     2.2.8-1
ii  libalgorithm-merge-perl  0.08-3

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

-- no debconf information

Reply via email to