Bug#792306: libmoox-struct-perl: FTBFS if libdata-printer-perl is installed: Failed tests: 1-4 of t/97dataprinter.t

Axel Beckert abe at debian.org
Mon Jul 13 18:31:58 UTC 2015


Package: libmoox-struct-perl
Version: 0.013-1
Severity: normal

Hi,

while testing packages with libmoo-perl (and friends) version 2.x from
expermimental[1], I ran into the following FTBFS. It seems to be
independent of the version of Moo and friends but to depend on the fact
that libdata-printer-perl is installed:

[1] https://lists.debian.org/debian-perl/2015/06/msg00057.html

[…]
1
2
Something[ 1, 2 ]

#   Failed test at t/97dataprinter.t line 34.
#          got: '1 2'
#     expected: 'Something[ 1, 2 ]'
"Hello
World"
\ [
    [0] "A",
    [1] "B
C",
    [2] "D"
]
Something[
        Hello
        World,
        ARRAY(0x1b13708),
]

#   Failed test 'dump including line breaks'
#   at t/97dataprinter.t line 38.
#                   'Hello
# World ARRAY(0x1b13708)
# '
#     doesn't match '(?^s:^Something\[\n)'
1
2
3
Something[ 1, 2, 3 ]

#   Failed test at t/97dataprinter.t line 43.
#          got: '1 2 3'
#     expected: 'Something[ 1, 2, 3 ]'
struct[  ]

#   Failed test at t/97dataprinter.t line 48.
#          got: ''
#     expected: 'struct[  ]'
# Looks like you failed 4 tests of 4.
t/97dataprinter.t ......... 
not ok 1
not ok 2 - dump including line breaks
not ok 3
not ok 4
1..4
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/4 subtests 

The package builds fine in pbuilder where libdata-printer-perl is not
installed as it's not part of the build dependencies:

t/97dataprinter.t ......... skipped: need Data::Printer

I suggest to either add libdata-printer-perl to Build-Depends and fix
that test or -- probably not the best idea -- to add a Build-Conflicts
against libdata-printer-perl.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (111, 'buildd-unstable'), (111, 'buildd-experimental'), (110, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libmoox-struct-perl depends on:
ii  libb-hooks-endofscope-perl  0.15-1
ii  libdata-optlist-perl        0.109-1
ii  libmoo-perl                 2.000001-1
ii  libnamespace-clean-perl     0.25-1
ii  libobject-id-perl           0.1.2-2
ii  libscalar-does-perl         0.202-2
ii  libsub-install-perl         0.928-1
ii  perl                        5.20.2-6

libmoox-struct-perl recommends no packages.

libmoox-struct-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list