Andreas Beckmann <anbe@debian.org> (2023-02-02):
> while preparing the move of firmware-nvidia-gsp from non-free to
> non-free-firmware I noticed this error from lintian:
>
> E: nvidia-graphics-drivers source: archive-liberty-mismatch (in section for firmware-nvidia-gsp) non-free-firmware vs non-free [debian/control:106]
Without a deep understanding of concepts or implementation, maybe a
quick fix would be to consider non-free-firmware of lower liberty than
non-free (even if they really should be considered the same), changing
this:
# in ascending order of liberty
for my $inferior_liberty ('non-free', 'contrib') {
into this:
# in ascending order of liberty
for my $inferior_liberty ('non-free-firmware', 'non-free', 'contrib') {
The critical bit being:
# must remain inferior
last
if $inferior_liberty eq $source_liberty;
(lib/Lintian/Check/Archive/Liberty/Mismatch.pm)
I'm short on time so I can't test this right away, but maybe Andreas
could give it a shot (e.g. hotpatching live lintian files)?
Cheers,
--
Cyril Brulebois (kibi@debian.org) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
Attachment:
signature.asc
Description: PGP signature