Bug#462569: libbarcode-code128-perl: fails to build with libtest-harness-perl

Niko Tyni ntyni at debian.org
Fri Jan 25 19:18:42 UTC 2008


Package: libbarcode-code128-perl
Version: 2.01-1
Severity: important

As noticed by the Build Daemon From Hell
<http://lists.debian.org/debian-devel/2008/01/msg00869.html>,
libbarcode-code128-perl fails to build from source due to test failures
when libtest-harness-perl is installed.

The behaviour of Test::Harness has changed, and the skip logic in t/gif.t
and t/png.t print output

 1..0
 ok 1

when an applicable version of GD.pm is not available. This is broken,
and the new Test::Harness in libtest-harness-perl fails with

  Parse errors: Bad plan.  You planned 0 tests but ran 1.

Possibly the cleanest fix is to build-depend on libgd-gd2-perl and
just remove t/gif.t (which is not used with newer versions of GD.pm)
in debian/rules.

As a side note: why the dance with an uuencoded debian/code128.png that
differs from the upstream one with only a few bytes? There's no mention
of this anywhere, not even in debian/changelog.

Cheers,
-- 
Niko Tyni   ntyni at debian.org





More information about the pkg-perl-maintainers mailing list