Bug#711446: libgraph-writer-graphviz-perl: FTBFS with perl 5.18: test failure

gregor herrmann gregoa at debian.org
Fri Jun 7 18:54:51 UTC 2013


On Thu, 06 Jun 2013 22:44:00 +0100, Dominic Hargreaves wrote:

> This package FTBFS with perl 5.18 from experimental (in a clean sbuild
> session):
> 
> #   Failed test at t/1.simple.t line 23.
> # Looks like you failed 1 test of 1.
> t/1.simple.t .. 
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/1 subtests 

With some debugging:

# prove --blib t/1.simple.t
t/1.simple.t .. 1/1 
#   Failed test at t/1.simple.t line 23.
#          got: 'digraph test {
#   graph [ratio=fill];
#   node [label="\N", color=black];
#   edge [color=black];
#   graph [bb="0,0,0,0"];
#   Bob [label=Bob, pos="0,0", width="0.0", height="0.0"];
#   Dr [label=Dr, pos="0,0", width="0.0", height="0.0"];
#   Crude [label=Crude, pos="0,0", width="0.0", height="0.0"];
#   Alice [label=Alice, pos="0,0", width="0.0", height="0.0"];
# }
# '
#     expected: 'digraph test {
#   graph [ratio=fill];
#   node [label="\N", color=black];
#   edge [color=black];
#   graph [bb="0,0,0,0"];
#   Bob [label=Bob, pos="0,0", width="0.0", height="0.0"];
#   Dr [label=Dr, pos="0,0", width="0.0", height="0.0"];
#   Alice [label=Alice, pos="0,0", width="0.0", height="0.0"];
#   Crude [label=Crude, pos="0,0", width="0.0", height="0.0"];
# }
# '
# Looks like you failed 1 test of 1.
t/1.simple.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Hash randomization at work somewhere? Next try:

# prove --blib t/1.simple.t
t/1.simple.t .. 1/1 
#   Failed test at t/1.simple.t line 23.
#          got: 'digraph test {
#   graph [ratio=fill];
#   node [label="\N", color=black];
#   edge [color=black];
#   graph [bb="0,0,0,0"];
#   Alice [label=Alice, pos="0,0", width="0.0", height="0.0"];
#   Dr [label=Dr, pos="0,0", width="0.0", height="0.0"];
#   Bob [label=Bob, pos="0,0", width="0.0", height="0.0"];
#   Crude [label=Crude, pos="0,0", width="0.0", height="0.0"];
# }
# '
#     expected: 'digraph test {
#   graph [ratio=fill];
#   node [label="\N", color=black];
#   edge [color=black];
#   graph [bb="0,0,0,0"];
#   Bob [label=Bob, pos="0,0", width="0.0", height="0.0"];
#   Dr [label=Dr, pos="0,0", width="0.0", height="0.0"];
#   Alice [label=Alice, pos="0,0", width="0.0", height="0.0"];
#   Crude [label=Crude, pos="0,0", width="0.0", height="0.0"];
# }
# '
# Looks like you failed 1 test of 1.
t/1.simple.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Yup, the order changes again.

Maybe caused by libgraph-perl ...?

The $g (Graph object) in t/1.simple.t looks like:

bless( [
#   0,
#   4,
#   bless( [
#     4,
#     152,
#     1,
#     {
#       '0' => 'Alice',
#       '1' => 'Bob',
#       '2' => 'Crude',
#       '3' => 'Dr'
#     },
#     {
#       'Alice' => 0,
#       'Bob' => 1,
#       'Crude' => 2,
#       'Dr' => 3
#     },
#     {},
#     $VAR1
#   ], 'Graph::AdjacencyMap::Light' ),
#   bless( [
#     0,
#     128,
#     2,
#     {},
#     {},
#     {},
#     $VAR1
#   ], 'Graph::AdjacencyMap::Light' )
# ], 'Graph' )



Forwarding the bug upstream now ...


Cheers,
gregor


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Bob Dylan: Mr.Tambourine Man
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130607/9a812e0a/attachment-0001.pgp>


More information about the pkg-perl-maintainers mailing list