Parsers generated from grammars: allowed, or have to be rebuilt?

gregor herrmann gregoa at debian.org
Tue Jul 17 12:40:34 BST 2018


On Tue, 17 Jul 2018 14:23:35 +0300, Andrius Merkys wrote:

> Dear Perl Maintainers,

[Please use debian-perl at lists.debian.org for discussions (cc'd now),
pkg-perl-maintainers at lists.alioth.debian.org is for the maintainer
address and bug reports.]
 
> in Debian archive I find packages that ship upstream-generated
> parsers [1] without rebuilding them from source. AFAIK, Debian
> policy is to rebuild generated stuff (documentation, minified
> JavaScript) from the source. The question is: are the generated
> parsers exempt from this requirement?
> 
> [1] for example libgraph-readwrite-perl and libxml-xql-perl which are apparently generated by Parse::Yapp.

My understanding of policy, in my own words, is that
- generated stuff must be possible to regenerate with software in
  debian main
- and should be regenerated during package build

So as long as we can regenerate the parsers, this is no policy
violation, but ideally we would actually do so during package build.

Please go ahead with bug reports and patches/commits for the affected
packages :)


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   BOFH excuse #260:  We're upgrading /dev/null 



More information about the pkg-perl-maintainers mailing list