[buildd-tools-devel] Bug#628516: dpkg-buildflags: add some no-effect flags
Raphael Hertzog
hertzog at debian.org
Sun May 29 19:10:31 UTC 2011
Hi,
On Sun, 29 May 2011, Jonathan Nieder wrote:
> Matthias Klose wrote:
> > There is more than a handful of packages which do not care about
> > dpkg-buildflags yet in debian/rules. Currently it's difficult to
> > tell if a package build honors dpkg-buildflags or not. The only way
> > to do this currently is to edit the config files for a test rebuild.
Do you often need to verify if a package supports dpkg-buildflags?
In what context?
> > The idea is to add some flags which do not have any effect on the
> > package build, and then look at the build log if these flags are
> > passed to the build.
> >
> > Such flags could be for
> >
> > - CFLAGS, CPPFLAGS, CXXFLAGS, FFLAGS: -D__BUILDD_<random-string>__
> > - LDFLAGS: -z buildd-<random-string> (gold would need a patch for this)
>
> Neat idea. Would it be possible to set this up as configuration on
> buildds so people don't get the strange idea that this is a standard
> dpkg feature they can rely on? (Cc-ing the buildd-tools developers as
> a random guess for who could set this up.)
Yeah, cc-ing debian-wb-team at lists.debian.org which might be more relevant. I
also agree that it could be a good idea but I'm not convinced that dpkg is
the right place to impose those fake flags by default.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)
More information about the Buildd-tools-devel
mailing list