Bug#151304: acknowledged by developer (Re: Processed: reassign 151304 to dpkg-dev)
On Sun, Jun 30, 2002 at 12:59:13PM +0200, Wichert Akkerman wrote:
> Think about it, there simple is no moment in the packaging process where
> you can know for sure if a substvar has been used or not. They can be
> used at different moments by different tools, added halfway through
> the process, only exist temporarily via commandline options, etc.
What is mostly of interest to me if when they're used only by
dpkg-gencontrol, _when_ they are added doesn't matter, and it looks like the
place for checking would be here, as dpkg-gencontrol is THE one (apart from
his caller, which may vary) which knows for sure what its arguments are.
Maybe in the default dpkg-gencontrol behaviour (reading from
debian/substvars) it is not expected that all vars are used, but
dh_gencontrol uses separated substvars files for each binary package, and
calls dpkg-gencontrol with -T. In this case we know for sure that all vars
in THIS file are intended for THIS package, and we can warn. Or do I miss
> Please work this out for yourself and try to come up with a scheme
> where you can authoritively see if a substvar is unused before you
> simply reopen this bugreport.
I'm not sure it's the most effective way not to get ideas lost, but well...
Yann Dirson <firstname.lastname@example.org> | Why make M$-Bill richer & richer ?
Debian-related: <email@example.com> | Support Debian GNU/Linux:
Pro: <firstname.lastname@example.org> | Freedom, Power, Stability, Gratuity
http://ydirson.free.fr/ | Check <http://www.debian.org/>
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org