Bug#486991: pango1.0: FTBFS: pangoxft-font.c:396: undefined reference to `FcPatternDuplicate'

Andreas Metzler ametzler at downhill.at.eu.org
Sun Jun 22 13:13:39 UTC 2008


On 2008-06-22 Andreas Metzler <ametzler at downhill.at.eu.org> wrote:
> On 2008-06-19 Lucas Nussbaum <lucas at lucas-nussbaum.net> wrote:
> > Package: pango1.0
> > Version: 1.20.3-1
> > Severity: serious
[...]

> Afaict from comparing buildlogs (successful powerpc and failed i386)
> the reason for the failure is a missing -lfontconfig.

Indeed the package builds with this patch (+reautomake):
--------------------------------------
--- pango1.0-1.20.3.orig/pango/Makefile.am
+++ pango1.0-1.20.3/pango/Makefile.am
@@ -242,6 +242,7 @@
        $(GLIB_LIBS)                            \
        $(X_LIBS)                               \
        $(XFT_LIBS)                             \
+       $(FONTCONFIG_LIBS)                      \
        $(libm)
 libpangoxft_1_0_la_DEPENDENCIES =              \
        libpangoft2-$(PANGO_API_VERSION).la     \
--------------------------------------

I *think* this the right thing to do, pangoxft-font.c directly invokes
functions from fontconfig (FcPatternDuplicate, FcPatternDel).

hth, cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'






More information about the pkg-gnome-maintainers mailing list