Bug#805403: libpango-perl: FTBFS: undefined symbol: pango_cairo_update_layout (broken by pkg-config 0.29)

Niko Tyni ntyni at debian.org
Tue Nov 17 20:07:51 UTC 2015


Package: libpango-perl
Version: 1.226-2
Tags: sid
Severity: serious
X-Debbugs-Cc: pkg-config at packages.debian.org

The libpango-perl package fails to build on current sid.

  [...]
  Warning (mostly harmless): No library found for -lglib-2.0-lpangocairo-1.0
  [...]
  Can't load 'blib/arch/auto/Pango/Pango.so' for module Pango: blib/arch/auto/Pango/Pango.so: undefined symbol: pango_cairo_update_layout at /usr/lib/x86_64-linux-gnu/perl/5.20/DynaLoader.pm line 187.
   at -e line 0.
  Compilation failed in require.
  BEGIN failed--compilation aborted.
  Makefile:1388: recipe for target 'build/podindex' failed
  make[1]: *** [build/podindex] Error 2

This broke with pkg-config 0.28-1 -> 0.29-2, because 'pkg-config --libs
pango' output no longer has a space at the end.  The libpango-perl build
system concatenates the output with the 'pkg-config --libs pangocairo'
output, which now breaks.

Cc'ing the pkg-config maintainer. Tollef, is this an intentional change?

With 0.28-1:

% pkg-config --libs pango|grep -q ' $' && echo ok
ok

With 0.29-2:

% pkg-config --libs pango|grep -q ' $' && echo ok
%

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list