Bug#1008191: libmojolicious-perl: Recommends of libmojolicious-perl contains build profile syntax

Paul Gevers elbrus at debian.org
Thu Mar 24 07:50:50 GMT 2022


Source: libmojolicious-perl
Version: 9.22+dfsg-1
Severity: normal
Control: clone -1 -2 -3
Control: reassign -2 autopkgtest
Control: severity -2 important
Control: reassign -3 lintian

Dear all,

Recently autopkgtest changed the way that the needs-recommends
restriction is implemented. That has caused some fall out. One case of
fall out is made apparent by src:libmojolicious-perl. The d/control
file [1] has this:
"""
Recommends: libcpan-meta-yaml-perl,
            libcpanel-json-xs-perl,
            libev-perl (>= 4.32),
            libfuture-asyncawait-perl (>= 0.52) <!nocheck>,
"""

Note that the last line has a *build* profile. Apparently that's
stripped off when the "real" Recommends field is generated, but it
doesn't belong there and it potentially harms tools that process
d/control.

I suggest:
1) libmojolicious-perl fixes its d/control (I'll provide a patch shortly)
2) autopkgtest should become more robust
3) lintian adds a check on this

Thanks for reading

Paul

[1] https://tracker.debian.org/media/packages/libm/libmojolicious-perl/control-9.22dfsg-1



More information about the pkg-perl-maintainers mailing list