Bug#636267: libgd-securityimage-perl: Depend on perlmagick but perlmagick doesn't provide GD.pm

Dominic Hargreaves dom at earth.li
Mon Aug 1 20:52:13 UTC 2011


Package: libgd-securityimage-perl
Version: 1.68-1
Severity: important

This package depends on

libgd-gd2-perl | perlmagick

If libgd-gd2-perl is not availble, perlmagick will satisfy the dependency
instead; however GD::SecurityImage will unconditionally use GD unless
use_magick is specified, resulting in the obvious failure to find GD.pm.

This was observed during perl 5.14 rebuild testing with
libcatalyst-modules-extra-perl:

#   Failed test 'use Catalyst::Plugin::Captcha;'
#   at t/00-load.t line 3.
#     Tried to use 'Catalyst::Plugin::Captcha'.
#     Error:  Can't locate GD.pm in @INC (@INC contains: /build/dom-libcatalyst-
modules-extra-perl_8-i386-3UnqM9/libcatalyst-modules-extra-perl-8/build-area/01/
Catalyst-Plugin-Captcha-0.04/blib/lib /build/dom-libcatalyst-modules-extra-perl_
8-i386-3UnqM9/libcatalyst-modules-extra-perl-8/build-area/01/Catalyst-Plugin-Cap
tcha-0.04/blib/arch /build/dom-libcatalyst-modules-extra-perl_8-i386-3UnqM9/libc
atalyst-modules-extra-perl-8/debian/libcatalyst-modules-extra-perl/usr/share/per
l5/ /build/dom-libcatalyst-modules-extra-perl_8-i386-3UnqM9/libcatalyst-modules-
extra-perl-8/debian/libcatalyst-modules-extra-perl/usr/share/perl5/ /etc/perl /u
sr/local/lib/perl/5.14.1 /usr/local/share/perl/5.14.1 /usr/lib/perl5 /usr/share/
perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /us
r/share/perl5/GD/SecurityImage/GD.pm line 26.
# BEGIN failed--compilation aborted at /usr/share/perl5/GD/SecurityImage/GD.pm l
ine 26.
# Compilation failed in require at /usr/share/perl5/GD/SecurityImage.pm line 27.
# BEGIN failed--compilation aborted at /build/dom-libcatalyst-modules-extra-perl
_8-i386-3UnqM9/libcatalyst-modules-extra-perl-8/build-area/01/Catalyst-Plugin-Ca
ptcha-0.04/blib/lib/Catalyst/Plugin/Captcha.pm line 5.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/00-load.t .. 

The package should therefore depend unconditionally on libgd-gd2-perl.





More information about the pkg-perl-maintainers mailing list