Bug#569920: libcairo-perl: fails to load with new libdirectfb

Jonathan Yu jawnsy at cpan.org
Mon Feb 15 03:30:07 UTC 2010


Package: libcairo-perl
Severity: grave
Justification: renders package unusable


This package seems to be unusable with the newest version of
libdirectfb.

Building Graphics::Primitive::Driver::Cairo yielded the following
test output (see libgraphics-primitive-driver-cairo-perl in the
Debian Perl Group repository):

t/00-load.t ............ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
Can't load '/usr/lib/perl5/auto/Cairo/Cairo.so' for module Cairo: libdirectfb-1.2.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl/5.10/DynaLoader.pm line 193.
 at /build/jon-libgraphics-primitive-driver-cairo-perl_0.43-1-i386-o6cS9N/libgraphics-primitive-driver-cairo-perl-0.43/blib/lib/Graphics/Primitive/Driver/Cairo.pm line 5
Compilation failed in require at /build/jon-libgraphics-primitive-driver-cairo-perl_0.43-1-i386-o6cS9N/libgraphics-primitive-driver-cairo-perl-0.43/blib/lib/Graphics/Primitive/Driver/Cairo.pm line 5.
BEGIN failed--compilation aborted at /build/jon-libgraphics-primitive-driver-cairo-perl_0.43-1-i386-o6cS9N/libgraphics-primitive-driver-cairo-perl-0.43/blib/lib/Graphics/Primitive/Driver/Cairo.pm line 5.
Compilation failed in require at t/10-complex-border.t line 7.
BEGIN failed--compilation aborted at t/10-complex-border.t line 7.

Inspecting the package in a chroot, a different API version of
libdirectfb is now installed. I'm not sure how to proceed here,
except perhaps conflict with the newer version or rebuild.

A rebuild of the Cairo bindings (libcairo-perl) should fix it,
but moving forward, I'd like to investigate a more robust and
resilient system (that won't result in breakages whenever a
new version of libdirectfb is uploaded).

After installing libcairo-perl (including directfb which is one
of the dependencies), the following files are put in /usr/lib:
  # ls /usr/lib/libdirectfb*
  /usr/lib/libdirectfb-1.2.so.9  /usr/lib/libdirectfb-1.2.so.9.0.1

The same error happens trying to load Cairo:
  # perl -MCairo -e1
  Can't load '/usr/lib/perl5/auto/Cairo/Cairo.so' for module Cairo: libdirectfb-1.2.so.0: cannot open shared object file: No such file or directory at /usr/lib/perl/5.10/DynaLoader.pm line 193. at -e line 0
  Compilation failed in require.
  BEGIN failed--compilation aborted.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental'), (1, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the pkg-perl-maintainers mailing list