Re: consensus on debug (-g) policy
On Sun, Sep 05, 1999 at 08:10:30PM -0700, Joey Hess wrote:
> Ben Collins wrote:
> > + NOTE: Debhelper's ``dh_strip'' command will honor this policy, so that
> > + old packages that use it will automatically compile and keep the debug
> > + symbols when DEB_BUILD_OPTIONS contains ``debug'' (although they will
> > + still build with -g by default, and should be changed).
> I wonder if this is really needed in policy. Note that this would be the
> first mention of debhelper, debmake, yada, etc in policy. I think it's a
> good idea to keep policy helper-tool independant and neutral. After all, if
> we all stop using debhelper tomorrow, we don't want to have to change policy
> to talk about the helper tool de jour.
Well, we talk about `gcc' and `install' in regard to them handling -g and -s. I
think it's only pertinent to note `dh_strip' since it is a major tool used in our
packages. How it handles (or how the maintainer should make it handle) this part
of policy seems to be relevant.
Perhaps a more general statement such as:
NOTE: Whether particular packaging tools honor this is left up to the
maintainer of those tools. Please read the documentation for any such
tools used in your packages.