Bug#1023685: libdancer-perl: FTBFS: 10_error_dumper_without_clone.t failure

Niko Tyni ntyni at debian.org
Tue Nov 8 18:51:16 GMT 2022


Source: libdancer-perl
Version: 1.3513+dfsg-1
Severity: serious
Tags: ftbfs sid bookworm
Control: affects -1 libhttp-message-perl

This package fails to build from source on current sid.

   t/12_response/10_error_dumper.t ..................... 
   1..5
   ok 1 - An object of class 'Dancer::Error' isa 'Dancer::Error'
   ok 2 - Data was censored in the output
   ok 3 - Original data was not overwritten
   ok 4 - Censoring of complex data structures works fine
   ok 5 - recursive censored hash
   ok
   Devel::Hide hides Clone.pm
   Can't locate Clone.pm in @INC (hidden)
   BEGIN failed--compilation aborted at /usr/share/perl5/HTTP/Headers.pm line 8.
   Compilation failed in require at /<<PKGBUILDDIR>>/blib/lib/Dancer/Response.pm line 14.
   BEGIN failed--compilation aborted at /<<PKGBUILDDIR>>/blib/lib/Dancer/Response.pm line 14.
   Compilation failed in require at /<<PKGBUILDDIR>>/blib/lib/Dancer/SharedData.pm line 8.
   BEGIN failed--compilation aborted at /<<PKGBUILDDIR>>/blib/lib/Dancer/SharedData.pm line 8.
   Compilation failed in require at /<<PKGBUILDDIR>>/blib/lib/Dancer/Request.pm line 13.
   BEGIN failed--compilation aborted at /<<PKGBUILDDIR>>/blib/lib/Dancer/Request.pm line 13.
   Compilation failed in require at /<<PKGBUILDDIR>>/blib/lib/Dancer/Route.pm line 13.
   BEGIN failed--compilation aborted at /<<PKGBUILDDIR>>/blib/lib/Dancer/Route.pm line 13.
   Compilation failed in require at /<<PKGBUILDDIR>>/blib/lib/Dancer/Route/Registry.pm line 8.
   BEGIN failed--compilation aborted at /<<PKGBUILDDIR>>/blib/lib/Dancer/Route/Registry.pm line 8.
   Compilation failed in require at /<<PKGBUILDDIR>>/blib/lib/Dancer/App.pm line 12.
   BEGIN failed--compilation aborted at /<<PKGBUILDDIR>>/blib/lib/Dancer/App.pm line 12.
   Compilation failed in require at /<<PKGBUILDDIR>>/blib/lib/Dancer.pm line 10.
   BEGIN failed--compilation aborted at /<<PKGBUILDDIR>>/blib/lib/Dancer.pm line 10.
   Compilation failed in require at t/12_response/10_error_dumper_without_clone.t line 17.
   BEGIN failed--compilation aborted at t/12_response/10_error_dumper_without_clone.t line 17.
   t/12_response/10_error_dumper_without_clone.t ....... 
   Dubious, test returned 255 (wstat 65280, 0xff00)
   No subtests run 
 
I assume this broke with libhttp-message-perl 6.44-1, which is currently
blocked from migrating to testing due to a similar autopkgtest regression.

>From the upstream HTTP-Message changelog:

  Changes for version 6.44 - 2022-10-26
  
  - Made the Clone module a hard requirement, so we don't have to provide
    a fallback function for HTTP::Headers::clone(). We require at least
    Clone 0.46, as that release now supports Perl back to 5.8.1, just like
    us. (GH#184) (Neil Bowers)
  - Import clone from Clone rather than inheriting (GH#189) (Graham Knop)

Looking at the above, my guess is that the Dancer test which "hides
Clone.pm" needs to be updated, as it uses HTTP::Headers which now
requires Clone.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list