[Build-common-hackers] Bug#583559: cdbs: CDBS should get the default values for CFLAGS & al. from dpkg-buildflags

Raphaël Hertzog hertzog at debian.org
Fri May 28 10:40:09 UTC 2010

Package: cdbs
Version: 0.4.84
Severity: wishlist

Now that dpkg-dev provides dpkg-buildflags, all packages should start
using it to get the default values mandated by the Debian policy (and
to support flag tweaking by users who want to experiment).

Given that CDBS abstract this for many packages, it would be nice to have
CDBS updated to make use of dpkg-buildflags.

Somehow it relates to #523642 but I prefered to open a new bug in case you
want to deal with them separately. Note that dpkg-buildflags is currently
not designed to let the maintainer tweak the CFLAGS and we should avoid
having maintainers setting DEB_CFLAGS_APPEND in debian/rules. Ideally the
maintainer should be able to override the build flags by himself and the 
helper tool should respect that choice and use the default value provided
by dpkg-buildflags only if the maintainer has not provided an explicit

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdbs depends on:
ii  debhelper                     7.4.20     helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20100122.1 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.64    scripts to make the life of a Debi
ii  doc-base                      0.9.5      utilities to manage online documen

-- no debconf information

More information about the Build-common-hackers mailing list