Bug#898578: libyaml-perl/1.25-1 breaks rex/1.6.0-1 test suite (FTBFS and autopkgtest failure)
    Niko Tyni 
    ntyni at debian.org
       
    Wed May 16 22:52:26 BST 2018
    
    
  
On Sun, May 13, 2018 at 11:17:58PM +0200, gregor herrmann wrote:
> Source: rex
> Version: 1.6.0-1
> Severity: serious
> Control: affects -1 src:libyaml-perl
> User: debian-ci at lists.debian.org
> Usertags: needs-update
> Tags: upstream buster sid
> Justification: fails to build from source
> YAML Error: Invalid element in map
>    Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
>    Line: 6
>    Document: 1
>  at /usr/share/perl5/YAML/Loader.pm line 361.
> # Looks like your test exited with 255 just after 1.
> t/report.t ....................... 
> 1..3
> ok 1 - 'created report class' isa 'Rex::Report::Base'
> Dubious, test returned 255 (wstat 65280, 0xff00)
> Failed 2/3 subtests 
This can be reduced to
  % perl -MYAML=Load -e "Load(qq(---\nfoo:\n - 'a: b'))"    
  YAML Error: Invalid element in map
     Code: YAML_LOAD_ERR_BAD_MAP_ELEMENT
     Line: 3
     Document: 1
   at /usr/share/perl5/YAML/Loader.pm line 361.
The YAML code is accepted by YAML::XS and YAML::Tiny, so this seems like
a probable regression in libyaml-perl to me.
Bisecting gives
 https://github.com/ingydotnet/yaml-pm/commit/1976972cd399a7082f66bbad9c54ff95fa4f452a
as the first bad commit.
-- 
Niko Tyni   ntyni at debian.org
    
    
More information about the pkg-perl-maintainers
mailing list