Bug#1093341: librdf-rdfa-generator-perl: FTBFS: Failed 1/4 test programs. 1/25 subtests failed.

Étienne Mollier emollier at debian.org
Tue Jan 21 19:31:42 GMT 2025


Control: tags -1 + confirmed patch upstream
Control: forwarded -1 https://github.com/perlrdf/p5-rdf-rdfa-generator/issues/7

Greetings,

The below issue looks to be the root cause of the test failure:
> Overwriting existing sub 'main::done_testing' with sub 'done_testing' exported by Test::Modern at t/03_kk_attean.t line 7.
> 
> #   Failed test 'no (unexpected) warnings (via done_testing)'
> #   at t/03_kk_attean.t line 76.
> # Looks like you failed 1 test of 8.
> t/03_kk_attean.t ......... 
> ok 1 - use Attean;
[…]
> ok 7 - Pretty generator with Note
> not ok 8 - no (unexpected) warnings (via done_testing)
> 1..8
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/8 subtests 

From the quick tests I did, this can be addressed by demoting
the inclusion of Test::Modern to a `require` statement.  In
addition the previous behavior may be preserved by invoking
Test::Modern::done_testing() instead of done_testing().  I am
not too sure which implementation was actually intended
upstream; as far as I can see, both work when disambiguating the
symbol.

I informed upstream and plan to upload the package with a patch
fixing the issue to get rid of the RC bug.

Have a nice day,  :)
-- 
  .''`.  Étienne Mollier <emollier at debian.org>
 : :' :  pgp: 8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
 `. `'   sent from /dev/pts/3, please excuse my verbosity
   `-    on air: Voyager - Runaway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20250121/6395ad90/attachment.sig>


More information about the pkg-perl-maintainers mailing list