Bug#154468: dpkg-dev: dpkg-buildpackage could make building debug versions easier
On Sat, Jul 27, 2002 at 12:14:07PM +0200, Wichert Akkerman wrote:
> Previously Marius Gedminas wrote:
> > It would be even better if dpkg-buildpackage supported an option
> > --debug-build or something that would automatically export
> > DEB_BUILD_OPTIONS=debug,nostrip to the build process.
> I'm not sure I want to do that. DEB_BUILD_OPTIONS is very much a
> Debian specific thing and I'm not sure it makes sense to code that
> into dpkg.
How is it Debian specific? By being described in Debian Policy? But
aren't the Debian binary and source package formats described in the
same place? I think that having a standard way to ask for building
packages with debug information is useful even if one's not building
packages for Debian.
Of course one cannot rely on every package supporting DEB_BUILD_OPTIONS
-- but that also applies for Debian packages, because this mechanism is
not required, but only a recommend in the policy. If dpkg-buildpackage
ever acquired --debug-build, the manual page should mention that it only
works for packages with follow the recommendation in Debian policy.
To me DEB_BUILD_OPTIONS seems like an interface to pass additional
options to debian/rules script, and thus a part of the Debian source
package format that dpkg-dev deals with.
But that's looking from my, that is, user's point of view. As a
maintainer you may know better. (But in that case I'd still like to
know, why do you think DEB_BUILD_OPTIONS is more Debian-specific than
the rest of the Debian source package format. And I'm not saying that
to convince you; I'm really curious.)
Include me out.
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com