Bug#545078: lintian: warn if symbol file contains tag but no build-dep on dpkg-dev (>= 1.15.3~)
On Mon, 14 Sep 2009, Modestas Vainius wrote:
> Just grep possible source symbol file templates for tag specification and warn
> if no strict dpkg-dev build dependency exists.
I'm not convinced that the requested check is really important (after all,
it will be useless in squeeze+1 when that version of dpkg-dev can be
assumed by default), but if it's implemented, then the suggestion of
Modestas is fine.
> Another issue is a set of
> supported tags (those which are acted upon, not just passed by) in the
> particular dpkg-dev version. More tags will probably supported in the future
> so it makes sense to implement a mini tag specification parser in lintian as
> well.
This part could wait until we have libdpkg-perl so that lintian can reuse
the same parsing code than dpkg-gensymbols. We expect to stabilize the
perl API during the squeeze timeframe.
> > Yes, unless a tag contains spaces, it is considered by old dpkg-dev as
> > a part of symbol name. That is, in many cases, a package would simply
> > FTBFS due to missing symbols...
>
> Yeah, 99% of packages will FTBFS due to #MISSING symbols when built with old
> dpkg-gensymbols.
Indeed.
Cheers,
--
Raphaël Hertzog
Reply to: