Bug#948256: FTBFS: test failures
Jonas Smedegaard
jonas at jones.dk
Mon Jan 6 08:28:30 GMT 2020
Quoting gregor herrmann (2020-01-06 05:05:25)
> As first seen on ci.d.n. [0] the package's test suite fails after the
> update
>
> - -libregexp-pattern-license-perl 3.0.31-4
> +libregexp-pattern-license-perl 3.1.99-1
Possibly related: Licensecheck was broken yesterday after upload of
libregexp-pattern-license-perl 3.1.x into unstable, until I got around
to releasing an updated licensecheck.
Another possible cause is that only --machine and --deb-machine outputs
are expected to be reliable (default output is for humans and may change
without notice). Also, _additions_ of license and copyright discoveries
is not a bug, so a testsuite should ideally check if a match is found
rather than if a computed license expression is identical to
expectation, and should ideally check if amount of discoveries is _at
least_ a certain number rather than exactly some number.
If a previous discovery stops getting discovered with a newer
licensecheck then it is (highly likely) a regression in licensecheck:
Please file a bugreport against licensecheck!
> Locally during build and also during autopkgtest this looks slighty
> different but not better:
One explanation for the difference might be that licensecheck had been
updated by then.
Another might be that licensecheck output now respects encoding of
locale. If tests involve non-ASCII characters then try set locale to
"C.UTF-8".
(...and that change is possibly broken: testsuite of licensecheck itself
worked fine on my own system, but failed in my pbuilder chroot - which
caused the the delay in releasing to unstable: I ended up disabling the
testsuite temporarily :-/ )
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200106/e2fac8ab/attachment.sig>
More information about the pkg-perl-maintainers
mailing list