Bug#1054364: FTBFS: test failure in t/Software-License.t
Roland Rosenfeld
roland at debian.org
Thu Feb 8 20:09:30 GMT 2024
tags 1054364 + patch
thanks
On So, 22 Okt 2023, gregor herrmann wrote:
> 41s not ok 12 - matches expected license for SPDX id GFDL-1.2-or-later
> 41s
> 41s # Failed test 'matches expected license for SPDX id GFDL-1.2-or-later'
> 41s # at t/Software-License.t line 96.
> 41s # +-------------------+----+-----------------------------------+
> 41s # | GOT | OP | CHECK |
> 41s # +-------------------+----+-----------------------------------+
> 41s # | GFDL-1.2-or-later | eq | GFDL-1.2-or-later and/or GFDL-1.3 |
> 41s # +-------------------+----+-----------------------------------+
> The issue might be related to the upload of libsoftware-license-perl_0.104004-1
> on 15 October …
The issue really is related with this upload. Since
t/Software-License.t requires Software::License >= 0.104004, this test
was skipped before.
Now it is checked, which resulted in the failure.
As far as I understand the test, it generates license files using
Software::LicenseUtils. Among others GFDL-1.2-or-later.
Than it parses this license using String::License and
String::License::Naming::SPDX and expects (in the broken version) that
"GFDL-1.2-or-later and/or GFDL-1.3" is found.
No idea why this should be "and/or GFDL-1.3", and because of this the
test fails.
Removing " and/or GFDL-1.3" from the expected license name solves the
problem.
The attached patch does so. If you like, I can prepare a team upload.
Greetings
Roland
More information about the pkg-perl-maintainers
mailing list